| Index: src/js/collection.js
|
| diff --git a/src/js/collection.js b/src/js/collection.js
|
| index 8bf6ec3515baf2c2ebd2b4ead4c300671ea8064e..1ae9052017c5cbbbca1e6ba1ab84afcf8e835a54 100644
|
| --- a/src/js/collection.js
|
| +++ b/src/js/collection.js
|
| @@ -2,9 +2,6 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -var $getHash;
|
| -var $getExistingHash;
|
| -
|
| (function(global, utils) {
|
| "use strict";
|
|
|
| @@ -462,10 +459,6 @@ utils.InstallFunctions(GlobalMap.prototype, DONT_ENUM, [
|
| "forEach", MapForEach
|
| ]);
|
|
|
| -// Expose to the global scope.
|
| -$getHash = GetHash;
|
| -$getExistingHash = GetExistingHash;
|
| -
|
| function MapFromArray(array) {
|
| var map = new GlobalMap;
|
| var length = array.length;
|
| @@ -501,4 +494,9 @@ function SetFromArray(array) {
|
| "set_from_array",SetFromArray,
|
| ]);
|
|
|
| +utils.Export(function(to) {
|
| + to.GetExistingHash = GetExistingHash;
|
| + to.GetHash = GetHash;
|
| +});
|
| +
|
| })
|
|
|