1
0
Fork 0

Now exporting util's array_shrink() as util.arrayShrink()

closure/master
Mike Gerwitz 2010-12-18 09:38:58 -05:00
parent 3a2ddbb29b
commit e39cfea741
1 changed files with 2 additions and 2 deletions

View File

@ -313,7 +313,7 @@ exports.propCopy = function( props, dest, result_data, actions )
// because the length of the array remains the same after deleting elements) // because the length of the array remains the same after deleting elements)
if ( abstract_regen ) if ( abstract_regen )
{ {
result_data.abstractMethods = array_shrink( abstract_methods ); result_data.abstractMethods = exports.arrayShrink( abstract_methods );
} }
} }
@ -440,7 +440,7 @@ function method_override(
* *
* @return {Array} shrunken array * @return {Array} shrunken array
*/ */
function array_shrink( items ) exports.arrayShrink = function( items )
{ {
// copy the methods into a new array by pushing them onto it, to ensure // copy the methods into a new array by pushing them onto it, to ensure
// the length property of the array will work properly // the length property of the array will work properly