Now exporting util's array_shrink() as util.arrayShrink()
parent
3a2ddbb29b
commit
e39cfea741
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue