Skip to content
This repository was archived by the owner on Apr 20, 2018. It is now read-only.

Commit e9ba791

Browse files
Fixing Issue #640
1 parent 828a848 commit e9ba791

25 files changed

Lines changed: 35 additions & 35 deletions

dist/rx.all.compat.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1450,9 +1450,9 @@
14501450

14511451
var localTimer = (function () {
14521452
var localSetTimeout, localClearTimeout = noop;
1453-
if ('WScript' in this) {
1453+
if (!!root.WScript) {
14541454
localSetTimeout = function (fn, time) {
1455-
WScript.Sleep(time);
1455+
root.WScript.Sleep(time);
14561456
fn();
14571457
};
14581458
} else if (!!root.setTimeout) {

dist/rx.all.compat.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/rx.all.compat.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/rx.all.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1259,9 +1259,9 @@
12591259

12601260
var localTimer = (function () {
12611261
var localSetTimeout, localClearTimeout = noop;
1262-
if ('WScript' in this) {
1262+
if (!!root.WScript) {
12631263
localSetTimeout = function (fn, time) {
1264-
WScript.Sleep(time);
1264+
root.WScript.Sleep(time);
12651265
fn();
12661266
};
12671267
} else if (!!root.setTimeout) {

dist/rx.all.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/rx.all.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/rx.compat.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1450,9 +1450,9 @@
14501450

14511451
var localTimer = (function () {
14521452
var localSetTimeout, localClearTimeout = noop;
1453-
if ('WScript' in this) {
1453+
if (!!root.WScript) {
14541454
localSetTimeout = function (fn, time) {
1455-
WScript.Sleep(time);
1455+
root.WScript.Sleep(time);
14561456
fn();
14571457
};
14581458
} else if (!!root.setTimeout) {

dist/rx.compat.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/rx.compat.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/rx.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1259,9 +1259,9 @@
12591259

12601260
var localTimer = (function () {
12611261
var localSetTimeout, localClearTimeout = noop;
1262-
if ('WScript' in this) {
1262+
if (!!root.WScript) {
12631263
localSetTimeout = function (fn, time) {
1264-
WScript.Sleep(time);
1264+
root.WScript.Sleep(time);
12651265
fn();
12661266
};
12671267
} else if (!!root.setTimeout) {

0 commit comments

Comments
 (0)