humanize-duration
Advanced tools
Comparing version 2.5.0 to 2.6.0
@@ -286,9 +286,2 @@ // HumanizeDuration.js - http://git.io/j0HgmQ | ||
humanizeDuration.humanizer = humanizer; | ||
if (typeof module !== "undefined") { | ||
module.exports = humanizeDuration; | ||
} else { | ||
this.humanizeDuration = humanizeDuration; | ||
} | ||
function render(count, type, dictionary, spacer) { | ||
@@ -344,2 +337,11 @@ var dictionaryValue = dictionary[type]; | ||
humanizeDuration.humanizer = humanizer; | ||
if (typeof define === "function" && define.amd) { | ||
define(humanizeDuration); | ||
} else if (typeof module !== "undefined" && module.exports) { | ||
module.exports = humanizeDuration; | ||
} else { | ||
this.humanizeDuration = humanizeDuration; | ||
} | ||
})(); |
@@ -11,3 +11,3 @@ { | ||
], | ||
"version": "2.5.0", | ||
"version": "2.6.0", | ||
"description": "Convert millisecond durations to English and many other languages.", | ||
@@ -14,0 +14,0 @@ "homepage": "https://github.com/EvanHahn/HumanizeDuration.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
20424
317