Index: /FCKeditor/trunk/_whatsnew.html =================================================================== --- /FCKeditor/trunk/_whatsnew.html (revision 2569) +++ /FCKeditor/trunk/_whatsnew.html (revision 2570) @@ -89,4 +89,6 @@
Index: /FCKeditor/trunk/editor/_source/fckjscoreextensions.js =================================================================== --- /FCKeditor/trunk/editor/_source/fckjscoreextensions.js (revision 2569) +++ /FCKeditor/trunk/editor/_source/fckjscoreextensions.js (revision 2570) @@ -149,11 +149,4 @@ } -Array.prototype.AddItem = function( item ) -{ - var i = this.length ; - this[ i ] = item ; - return i ; -} - Array.prototype.IndexOf = function( value ) { Index: /FCKeditor/trunk/editor/_source/internals/fckconfig.js =================================================================== --- /FCKeditor/trunk/editor/_source/internals/fckconfig.js (revision 2569) +++ /FCKeditor/trunk/editor/_source/internals/fckconfig.js (revision 2570) @@ -155,5 +155,5 @@ FCKConfig.Plugins.Add = function( name, langs, path ) { - FCKConfig.Plugins.Items.AddItem( [name, langs, path] ) ; + FCKConfig.Plugins.Items.push( [name, langs, path] ) ; } @@ -181,5 +181,5 @@ FCKConfig.ProtectedSource.Add = function( regexPattern ) { - this.RegexEntries.AddItem( regexPattern ) ; + this.RegexEntries.push( regexPattern ) ; } Index: /FCKeditor/trunk/editor/_source/internals/fckdocumentprocessor.js =================================================================== --- /FCKeditor/trunk/editor/_source/internals/fckdocumentprocessor.js (revision 2569) +++ /FCKeditor/trunk/editor/_source/internals/fckdocumentprocessor.js (revision 2570) @@ -28,5 +28,5 @@ { var oNewItem = new Object() ; - this._Items.AddItem( oNewItem ) ; + this._Items.push( oNewItem ) ; return oNewItem ; }