File tree Expand file tree Collapse file tree 3 files changed +13
-10
lines changed Expand file tree Collapse file tree 3 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 1+ 2.1.0 / 2018-02-19
2+ * Publish dist updates for 2.0.3
3+
142.0.3 / 2018-01-29
25 * Add factResult and result to the JSON generated for Condition (@bjacobso )
36
Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff line change 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 ) {
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) ;
You can’t perform that action at this time.
0 commit comments