implement slice

pull/1/head
ansuz 7 years ago
parent a8f7beb20b
commit 47ce645897

@ -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;

Loading…
Cancel
Save