implement slice
This commit is contained in:
@@ -202,5 +202,9 @@ define([], function () {
|
||||
};
|
||||
};
|
||||
|
||||
Util.slice = function (A) {
|
||||
return Array.prototype.slice.call(A);
|
||||
};
|
||||
|
||||
return Util;
|
||||
});
|
||||
|
||||
@@ -103,6 +103,7 @@ define([
|
||||
common.getAppType = Util.getAppType;
|
||||
common.notAgainForAnother = Util.notAgainForAnother;
|
||||
common.uid = Util.uid;
|
||||
common.slice = Util.slice;
|
||||
|
||||
// import hash utilities for export
|
||||
var createRandomHash = common.createRandomHash = Hash.createRandomHash;
|
||||
|
||||
Reference in New Issue
Block a user