diff --git a/lib/util.js b/lib/util.js index edb446e..693caa9 100644 --- a/lib/util.js +++ b/lib/util.js @@ -313,7 +313,7 @@ exports.propCopy = function( props, dest, result_data, actions ) // because the length of the array remains the same after deleting elements) 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 */ -function array_shrink( items ) +exports.arrayShrink = function( items ) { // copy the methods into a new array by pushing them onto it, to ensure // the length property of the array will work properly