Permalink
Browse files

Updated dependencies

  • Loading branch information...
1 parent b9ee694 commit 5f8e58100ff7c748061758319e9372ae820bb172 @w00fz w00fz committed Nov 2, 2016
View
@@ -34,4 +34,5 @@ themes/*/*/custom
**/*.map
**/node_modules/*
platforms/**/cache
-npm-debug.log
+npm-debug.log
+/themes/multisite
@@ -4393,27 +4393,42 @@ var process = module.exports = {};
var cachedSetTimeout;
var cachedClearTimeout;
+function defaultSetTimout() {
+ throw new Error('setTimeout has not been defined');
+}
+function defaultClearTimeout () {
+ throw new Error('clearTimeout has not been defined');
+}
(function () {
try {
- cachedSetTimeout = setTimeout;
- } catch (e) {
- cachedSetTimeout = function () {
- throw new Error('setTimeout is not defined');
+ if (typeof setTimeout === 'function') {
+ cachedSetTimeout = setTimeout;
+ } else {
+ cachedSetTimeout = defaultSetTimout;
}
+ } catch (e) {
+ cachedSetTimeout = defaultSetTimout;
}
try {
- cachedClearTimeout = clearTimeout;
- } catch (e) {
- cachedClearTimeout = function () {
- throw new Error('clearTimeout is not defined');
+ if (typeof clearTimeout === 'function') {
+ cachedClearTimeout = clearTimeout;
+ } else {
+ cachedClearTimeout = defaultClearTimeout;
}
+ } catch (e) {
+ cachedClearTimeout = defaultClearTimeout;
}
} ())
function runTimeout(fun) {
if (cachedSetTimeout === setTimeout) {
//normal enviroments in sane situations
return setTimeout(fun, 0);
}
+ // if setTimeout wasn't available but was latter defined
+ if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
+ cachedSetTimeout = setTimeout;
+ return setTimeout(fun, 0);
+ }
try {
// when when somebody has screwed with setTimeout but no I.E. maddness
return cachedSetTimeout(fun, 0);
@@ -4434,6 +4449,11 @@ function runClearTimeout(marker) {
//normal enviroments in sane situations
return clearTimeout(marker);
}
+ // if clearTimeout wasn't available but was latter defined
+ if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
+ cachedClearTimeout = clearTimeout;
+ return clearTimeout(marker);
+ }
try {
// when when somebody has screwed with setTimeout but no I.E. maddness
return cachedClearTimeout(marker);
@@ -10,18 +10,18 @@
"slick": "^1.12.2"
},
"devDependencies": {
- "browserify": "^13.1.0",
+ "browserify": "^13.1.1",
"gulp": "^3.9.1",
"gulp-if": "^2.0.1",
"gulp-rename": "^1.2.2",
"gulp-ruby-sass": "^2.1.0",
- "gulp-sourcemaps": "^2.0.0",
+ "gulp-sourcemaps": "^2.2.0",
"gulp-uglify": "^2.0.0",
"gulp-util": "^3.0.7",
"merge-stream": "^1.0.0",
"vinyl-buffer": "^1.0.0",
"vinyl-source-stream": "^1.1.0",
"watchify": "^3.7.0",
- "yargs": "^6.0.0"
+ "yargs": "^6.3.0"
}
}
Oops, something went wrong.

0 comments on commit 5f8e581

Please sign in to comment.