Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "css-time", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"author": "Phil Booth <pmbooth@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "A tiny library that converts milliseconds to and from CSS time.", |
{ | ||
"name": "css-time", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"author": "Phil Booth <pmbooth@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "A tiny library that converts milliseconds to and from CSS time.", |
@@ -49,3 +49,3 @@ # css-time.js | ||
``` | ||
<script type="text/javascript" src="css-time.min.js"></script> | ||
<script src="css-time.min.js"></script> | ||
``` | ||
@@ -106,3 +106,3 @@ | ||
[ci-image]: https://secure.travis-ci.org/philbooth/css-time.js.png?branch=master | ||
[ci-image]: https://secure.travis-ci.org/philbooth/css-time.js.png | ||
[ci-status]: http://travis-ci.org/#!/philbooth/css-time.js | ||
@@ -109,0 +109,0 @@ [csstime]: http://www.w3.org/TR/css3-values/#time |
@@ -1,1 +0,1 @@ | ||
(function(){"use strict";function t(t){return n(t),"m"===t.charAt(t.length-2)?parseFloat(t.substring(0,t.length-2)):1e3*parseFloat(t.substring(0,t.length-1))}function n(t){if(/^[\-\+]?[0-9]+(\.[0-9]+)?m?s$/.test(t)===!1)throw Error("Invalid CSS time")}function e(t){return o(t),t+"ms"}function o(t){if("number"!=typeof t||isNaN(t))throw Error("Invalid milliseconds")}function i(){"function"==typeof define&&define.amd?define(["css-time"],r):"object"==typeof module||null!==module?module.exports=r:window.cssTime=r}var r={from:t,to:e};i()})(); | ||
(function(){"use strict";function t(t){return n(t),"m"===t.charAt(t.length-2)?parseFloat(t.substring(0,t.length-2)):1e3*parseFloat(t.substring(0,t.length-1))}function n(t){if(/^[\-\+]?[0-9]+(\.[0-9]+)?m?s$/.test(t)===!1)throw Error("Invalid CSS time")}function e(t){return o(t),t+"ms"}function o(t){if("number"!=typeof t||isNaN(t))throw Error("Invalid milliseconds")}function i(){"function"==typeof define&&define.amd?define(["css-time"],r):"object"==typeof module&&null!==module?module.exports=r:window.cssTime=r}var r={from:t,to:e};i()})(); |
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
12333