Index: src/array.js |
diff --git a/src/array.js b/src/array.js |
index 3ec350fb6c65e9588509add8fda7604f251920be..71f86c80f3a90518181c2bc0941ebeb7988a899d 100644 |
--- a/src/array.js |
+++ b/src/array.js |
@@ -17,7 +17,7 @@ |
var $innerArrayReverse; |
var $innerArraySort; |
-(function(global, utils) { |
+(function(global, shared, exports) { |
"use strict"; |
@@ -27,14 +27,8 @@ |
// Imports |
var GlobalArray = global.Array; |
-var InternalArray = utils.InternalArray; |
-var InternalPackedArray = utils.InternalPackedArray; |
- |
-var MathMin; |
- |
-utils.Import(function(from) { |
- MathMin = from.MathMin; |
-}); |
+var InternalArray = exports.InternalArray; |
+var InternalPackedArray = exports.InternalPackedArray; |
// ------------------------------------------------------------------- |
@@ -268,7 +262,7 @@ |
// Move data to new array. |
var new_array = new InternalArray( |
// Clamp array length to 2^32-1 to avoid early RangeError. |
- MathMin(len - del_count + num_additional_args, 0xffffffff)); |
+ $min(len - del_count + num_additional_args, 0xffffffff)); |
var big_indices; |
var indices = %GetArrayKeys(array, len); |
if (IS_NUMBER(indices)) { |