[Qooxdoo-commit] qooxdoo/source/script/core QxNative.js,1.1.2.7,1.1.2.8
Brought to you by:
ecker,
martinwittemann
|
From: Sebastian W. <wp...@us...> - 2006-01-19 16:32:56
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21279/source/script/core Modified Files: Tag: renderer QxNative.js Log Message: Improved append method Index: QxNative.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/core/Attic/QxNative.js,v retrieving revision 1.1.2.7 retrieving revision 1.1.2.8 diff -C2 -d -r1.1.2.7 -r1.1.2.8 *** QxNative.js 16 Jan 2006 16:11:55 -0000 1.1.2.7 --- QxNative.js 19 Jan 2006 16:32:48 -0000 1.1.2.8 *************** *** 223,231 **** }; ! Array.prototype.append = function () ! { ! for (var i=0, l=arguments.length; i<l; i++) { ! this[this.length] = arguments[i]; ! }; }; --- 223,228 ---- }; ! Array.prototype.append = function(a) { ! Array.prototype.push.apply(this, a); }; |