mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-12 02:42:48 +00:00
updated bunch of file paths and changed the way posts are loaded
This commit is contained in:
10
node_modules/timers-ext/valid-timeout.js
generated
vendored
Normal file
10
node_modules/timers-ext/valid-timeout.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
var toPosInt = require('es5-ext/number/to-pos-integer')
|
||||
, maxTimeout = require('./max-timeout');
|
||||
|
||||
module.exports = function (value) {
|
||||
value = toPosInt(value);
|
||||
if (value > maxTimeout) throw new TypeError(value + " exceeds maximum possible timeout");
|
||||
return value;
|
||||
};
|
||||
Reference in New Issue
Block a user