Ticket #2516: 2516.patch
File 2516.patch, 2.3 KB (added by , 16 years ago) |
---|
-
_whatsnew.html
62 62 now are shown properly.</li> 63 63 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2496">#2496</a>] Using the Paste 64 64 dialogs in IE might insert the content at the start of the editor.</li> 65 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2516">#2516</a>] Replaced the 66 extension AddItem of Array with the standard "push" method.</li> 65 67 </ul> 66 68 <p> 67 69 <a href="_whatsnew_history.html">See previous versions history</a></p> -
editor/_source/fckjscoreextensions.js
148 148 return this.replace( regExp, replacement ) ; 149 149 } 150 150 151 Array.prototype.AddItem = function( item )152 {153 var i = this.length ;154 this[ i ] = item ;155 return i ;156 }157 158 151 Array.prototype.IndexOf = function( value ) 159 152 { 160 153 for ( var i = 0 ; i < this.length ; i++ ) -
editor/_source/internals/fckconfig.js
154 154 155 155 FCKConfig.Plugins.Add = function( name, langs, path ) 156 156 { 157 FCKConfig.Plugins.Items. AddItem( [name, langs, path] ) ;157 FCKConfig.Plugins.Items.push( [name, langs, path] ) ; 158 158 } 159 159 160 160 // FCKConfig.ProtectedSource: object that holds a collection of Regular … … 180 180 181 181 FCKConfig.ProtectedSource.Add = function( regexPattern ) 182 182 { 183 this.RegexEntries. AddItem( regexPattern ) ;183 this.RegexEntries.push( regexPattern ) ; 184 184 } 185 185 186 186 FCKConfig.ProtectedSource.Protect = function( html ) -
editor/_source/internals/fckdocumentprocessor.js
27 27 FCKDocumentProcessor.AppendNew = function() 28 28 { 29 29 var oNewItem = new Object() ; 30 this._Items. AddItem( oNewItem ) ;30 this._Items.push( oNewItem ) ; 31 31 return oNewItem ; 32 32 } 33 33