Ticket #4140: 4140.patch

File 4140.patch, 577 bytes (added by Tobiasz Cudnik, 10 years ago)
  • _source/core/tools.js

     
    1 /*
     1/*
    22Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
    33For licensing, see LICENSE.html or http://ckeditor.com/license
    44*/
     
    523523
    524524                repeat : function( str, times )
    525525                {
    526                         return new Array( times + 1 ).join( str );
     526                        var array = Array;
     527                        return new array( times + 1 ).join( str );
    527528                }
    528529        };
    529530})();
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy