initial commit
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
shadow$provide.module$node_modules$pixi_DOT_js$lib$utils$data$clean = function(global, require, module, exports) {
|
||||
exports.cleanArray = function(arr) {
|
||||
let offset = 0;
|
||||
for (let i = 0; i < arr.length; i++) {
|
||||
void 0 == arr[i] ? offset++ : arr[i - offset] = arr[i];
|
||||
}
|
||||
arr.length -= offset;
|
||||
return arr;
|
||||
};
|
||||
exports.cleanHash = function(hash) {
|
||||
var clean = !1;
|
||||
for (var i$jscomp$0 in hash) {
|
||||
if (void 0 == hash[i$jscomp$0]) {
|
||||
clean = !0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!clean) {
|
||||
return hash;
|
||||
}
|
||||
clean = Object.create(null);
|
||||
for (const i in hash) {
|
||||
(i$jscomp$0 = hash[i]) && (clean[i] = i$jscomp$0);
|
||||
}
|
||||
return clean;
|
||||
};
|
||||
};
|
||||
|
||||
//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$utils$data$clean.js.map
|
||||
Reference in New Issue
Block a user