Skip to content

Commit 730fc2f

Browse files
author
Cache Hamm
committed
2.1.0: Publish dist updates of 2.0.3
1 parent f31eb35 commit 730fc2f

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2.1.0 / 2018-02-19
2+
* Publish dist updates for 2.0.3
3+
14
2.0.3 / 2018-01-29
25
* Add factResult and result to the JSON generated for Condition (@bjacobso)
36

dist/condition.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ var Condition = function () {
6969
props.operator = this.operator;
7070
props.value = this.value;
7171
props.fact = this.fact;
72+
if (this.factResult !== undefined) {
73+
props.factResult = this.factResult;
74+
}
75+
if (this.result !== undefined) {
76+
props.result = this.result;
77+
}
7278
if (this.params) {
7379
props.params = this.params;
7480
}

dist/generator-runtime.js

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -190,10 +190,6 @@
190190
}
191191
}
192192

193-
if (typeof global.process === "object" && global.process.domain) {
194-
invoke = global.process.domain.bind(invoke);
195-
}
196-
197193
var previousPromise;
198194

199195
function enqueue(method, arg) {
@@ -727,10 +723,8 @@
727723
}
728724
};
729725
})(
730-
// Among the various tricks for obtaining a reference to the global
731-
// object, this seems to be the most reliable technique that does not
732-
// use indirect eval (which violates Content Security Policy).
733-
typeof global === "object" ? global :
734-
typeof window === "object" ? window :
735-
typeof self === "object" ? self : this
726+
// In sloppy mode, unbound `this` refers to the global object, fallback to
727+
// Function constructor if we're in global strict mode. That is sadly a form
728+
// of indirect eval which violates Content Security Policy.
729+
(function() { return this })() || Function("return this")()
736730
);

0 commit comments

Comments
 (0)