Comparing version 1.6.4 to 1.6.5
@@ -255,3 +255,3 @@ (function(scope) { | ||
this.log = function() { | ||
var args = this.slice(arguments), | ||
var args = [].slice.call(arguments), | ||
console = Scope.console, | ||
@@ -434,16 +434,2 @@ lDate = '[' + Util.getDate() + '] '; | ||
/** | ||
* function makes new array based on first | ||
* | ||
* @param array | ||
*/ | ||
this.slice = function(array, begin, end) { | ||
var ret = []; | ||
if (array) | ||
ret = [].slice.call(array, begin, end); | ||
return ret; | ||
}; | ||
this.exec = new ExecProto(); | ||
@@ -462,3 +448,3 @@ | ||
isFunc = Util.type.function(callback), | ||
args = Util.slice(arguments, 1); | ||
args = [].slice.call(arguments, 1); | ||
@@ -491,3 +477,3 @@ if (isFunc) | ||
var result, | ||
args = Util.slice(arguments); | ||
args = [].slice.call(arguments); | ||
@@ -571,3 +557,3 @@ args.unshift(exec); | ||
function checkFunc(num, data, all) { | ||
var args = Util.slice(data, 1), | ||
var args = [].slice.call(data, 1), | ||
isLast = false, | ||
@@ -574,0 +560,0 @@ error = data[0], |
{ | ||
"name": "util-io", | ||
"version": "1.6.4", | ||
"version": "1.6.5", | ||
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", | ||
@@ -5,0 +5,0 @@ "description": "Util-io - utilites for vanila js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28515
605