lib/qx/tool/compiler/Console.js
function(obj, type) {
      for (var id in obj) {
        this.MESSAGE_IDS[id] = { id: id, message: obj[id], type: type||"message" };
      }
    }
function(obj, type) {
      for (var id in obj) {
        this.MESSAGE_IDS[id] = { id: id, message: obj[id], type: type||"message" };
      }
    }
function ( obj , type ) { for ( var id in obj ) { this . MESSAGE_IDS [ id ] = { id : id , message : obj [ id ] , type : type || "message" } ; } }
Adds message IDs; this is a method because it allows other components (eg qxoodoo-cli) to
use it

@param obj {Object} map of id strings to message text
@param type {String?} the type of message, can be one of "message" (default) or "error", "warning"
Adds message IDs ; this is a method because it allows other components ( eg qxoodoo - cli ) to use it