rem: }; 
add: } 
context: qx.lang.Generics.init = function(){  // Make generic versions of instance methods  var makeGeneric = [  {    object: Array,    methods:    [      "join",      "reverse",      "sort",      "push",      "pop",      "shift",      "unshift",      "splice",      "concat",      "slice",      "indexOf",      "lastIndexOf",      "forEach",      "map",      "filter",      "some",      "every"    ]  },  {    object: String,    methods:    [      "quote",      "substring",      "toLowerCase",      "toUpperCase",      "charAt",      "charCodeAt",      "indexOf",      "lastIndexOf",      "toLocaleLowerCase",      "toLocaleUpperCase",      "localeCompare",      "match",      "search",      "replace",      "split",      "substr",      "concat",      "slice"    ]  }];  for (var i=0, l=makeGeneric.length; i<l; i++)  {    var constr = makeGeneric[i].object;    var methods = makeGeneric[i].methods;    for (var j=0; j<methods.length; j++)    {      var name = methods[j];      if (!constr[name])      {        constr[methods[j]] = function(constr, name)        {          return function(s)          {            var args = Array.prototype.slice.call(arguments, 1);            return constr.prototype[name].apply(s, args);          };        }(constr, name);      };    };  };};
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/5b1a09c4ca80efdfbd41063412dd526cf7e711df/Generics.js/buggy/qooxdoo/source/script/qx/lang/Generics.js