Comparing version 3.5.24 to 3.5.25
@@ -129,3 +129,3 @@ (function(self) { | ||
var inputs = clues.Promise.all(args), | ||
wait = new Date(), | ||
wait = Date.now(), | ||
duration; | ||
@@ -135,3 +135,3 @@ | ||
.then(function(args) { | ||
duration = new Date(); | ||
duration = Date.now(); | ||
return clues.Promise.try(function() { | ||
@@ -148,3 +148,3 @@ return fn.apply(logic || {}, args); | ||
if (typeof $global.$duration === 'function') | ||
$global.$duration(fullref || ref || (fn && fn.name),[(new Date()-duration),(new Date())-wait]); | ||
$global.$duration(fullref || ref || (fn && fn.name),[(Date.now()-duration),(Date.now())-wait]); | ||
}) | ||
@@ -151,0 +151,0 @@ .then(function(d) { |
{ | ||
"name": "clues", | ||
"version": "3.5.24", | ||
"version": "3.5.25", | ||
"description": "Lightweight logic tree solver using promises.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -215,3 +215,3 @@ [![NPM Version][npm-image]][npm-url] | ||
##### ᐅ as an alias for a dot | ||
Clues provides an alias for dots (ᐅ - unicode U+07CD) in nested paths. Using this alias, nested arguments can be defined directly in the function signature. The downside to this approach is that argument names can become more cumbersome. | ||
Clues provides an alias for dots (ᐅ - unicode U+1405) in nested paths. Using this alias, nested arguments can be defined directly in the function signature. The downside to this approach is that argument names can become more cumbersome. | ||
@@ -218,0 +218,0 @@ Here is the second example using the alias |
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