Comparing version 1.6.0 to 1.7.0
@@ -0,1 +1,8 @@ | ||
v1.7.0 | ||
====== | ||
2016-09-16T06:16:12Z | ||
- Now observers can force update the value. | ||
v1.6.0 | ||
@@ -2,0 +9,0 @@ ====== |
{ | ||
"name": "fus-ext", | ||
"version": "1.6.0", | ||
"version": "1.7.0", | ||
"description": "FutureScript Extension", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -525,8 +525,9 @@ "use strict";Object.defineProperty(exports, "__esModule", { | ||
key: "check", | ||
value: function check() { | ||
var _arguments12 = arguments, | ||
_this16 = this; | ||
value: function check(forcesUpdate) { | ||
var _this16 = this; | ||
return (function () { | ||
var arg_573300145710716007 = _arguments12;return (function () { | ||
return (function (forcesUpdate) { | ||
if (forcesUpdate === undefined) { | ||
forcesUpdate = false; | ||
}return (function () { | ||
var newValue;newValue = (function () { | ||
@@ -544,3 +545,3 @@ try { | ||
newValue = _this16.constructor[var_573300145710716007_13]; | ||
})() : undefined;return _this16[var_573300145710716007_15] === undefined || !Object.is(newValue, _this16[var_573300145710716007_15]) ? (function () { | ||
})() : undefined;return forcesUpdate || _this16[var_573300145710716007_15] === undefined || !Object.is(newValue, _this16[var_573300145710716007_15]) ? (function () { | ||
_this16.onUpdate.fire({ value: newValue });_this16[var_573300145710716007_15] !== undefined ? (function () { | ||
@@ -551,3 +552,3 @@ return _this16.onChange.fire({ oldValue: _this16[var_573300145710716007_15], newValue: newValue }); | ||
})(); | ||
})(); | ||
})(forcesUpdate); | ||
} | ||
@@ -575,7 +576,7 @@ }]); | ||
value: function real() { | ||
var _arguments13 = arguments, | ||
var _arguments12 = arguments, | ||
_this18 = this; | ||
return (function () { | ||
var arg_573300145710716007 = _arguments13;return (function () { | ||
var arg_573300145710716007 = _arguments12;return (function () { | ||
return _this18.x; | ||
@@ -588,7 +589,7 @@ })(); | ||
value: function imaginary() { | ||
var _arguments14 = arguments, | ||
var _arguments13 = arguments, | ||
_this19 = this; | ||
return (function () { | ||
var arg_573300145710716007 = _arguments14;return (function () { | ||
var arg_573300145710716007 = _arguments13;return (function () { | ||
return _this19.y; | ||
@@ -601,7 +602,7 @@ })(); | ||
value: function toString() { | ||
var _arguments15 = arguments, | ||
var _arguments14 = arguments, | ||
_this20 = this; | ||
return (function () { | ||
var arg_573300145710716007 = _arguments15;return (function () { | ||
var arg_573300145710716007 = _arguments14;return (function () { | ||
return "(" + _this20.x + "," + _this20.y + ")"; | ||
@@ -614,7 +615,7 @@ })(); | ||
value: function toComplexString() { | ||
var _arguments16 = arguments, | ||
var _arguments15 = arguments, | ||
_this21 = this; | ||
return (function () { | ||
var arg_573300145710716007 = _arguments16;return (function () { | ||
var arg_573300145710716007 = _arguments15;return (function () { | ||
var sign;sign = _this21.y >= 0 ? (function () { | ||
@@ -631,7 +632,7 @@ return "+"; | ||
value: function toArray() { | ||
var _arguments17 = arguments, | ||
var _arguments16 = arguments, | ||
_this22 = this; | ||
return (function () { | ||
var arg_573300145710716007 = _arguments17;return (function () { | ||
var arg_573300145710716007 = _arguments16;return (function () { | ||
return [_this22.x, _this22.y]; | ||
@@ -644,7 +645,7 @@ })(); | ||
value: function clone() { | ||
var _arguments18 = arguments, | ||
var _arguments17 = arguments, | ||
_this23 = this; | ||
return (function () { | ||
var arg_573300145710716007 = _arguments18;return (function () { | ||
var arg_573300145710716007 = _arguments17;return (function () { | ||
return new Point(_this23.x, _this23.y); | ||
@@ -679,7 +680,7 @@ })(); | ||
value: function opposite() { | ||
var _arguments19 = arguments, | ||
var _arguments18 = arguments, | ||
_this26 = this; | ||
return (function () { | ||
var arg_573300145710716007 = _arguments19;return (function () { | ||
var arg_573300145710716007 = _arguments18;return (function () { | ||
return cmath.opposite(_this26); | ||
@@ -692,7 +693,7 @@ })(); | ||
value: function reciprocal() { | ||
var _arguments20 = arguments, | ||
var _arguments19 = arguments, | ||
_this27 = this; | ||
return (function () { | ||
var arg_573300145710716007 = _arguments20;return (function () { | ||
var arg_573300145710716007 = _arguments19;return (function () { | ||
return cmath.reciprocal(_this27); | ||
@@ -705,7 +706,7 @@ })(); | ||
value: function conjugate() { | ||
var _arguments21 = arguments, | ||
var _arguments20 = arguments, | ||
_this28 = this; | ||
return (function () { | ||
var arg_573300145710716007 = _arguments21;return (function () { | ||
var arg_573300145710716007 = _arguments20;return (function () { | ||
return cmath.conjugate(_this28); | ||
@@ -718,7 +719,7 @@ })(); | ||
value: function abs() { | ||
var _arguments22 = arguments, | ||
var _arguments21 = arguments, | ||
_this29 = this; | ||
return (function () { | ||
var arg_573300145710716007 = _arguments22;return (function () { | ||
var arg_573300145710716007 = _arguments21;return (function () { | ||
return cmath.abs(_this29); | ||
@@ -819,7 +820,7 @@ })(); | ||
value: function phase() { | ||
var _arguments23 = arguments, | ||
var _arguments22 = arguments, | ||
_this38 = this; | ||
return (function () { | ||
var arg_573300145710716007 = _arguments23;return (function () { | ||
var arg_573300145710716007 = _arguments22;return (function () { | ||
return cmath.phase(_this38); | ||
@@ -843,7 +844,7 @@ })(); | ||
value: function phaseInDegrees() { | ||
var _arguments24 = arguments, | ||
var _arguments23 = arguments, | ||
_this40 = this; | ||
return (function () { | ||
var arg_573300145710716007 = _arguments24;return (function () { | ||
var arg_573300145710716007 = _arguments23;return (function () { | ||
return cmath.phaseInDegrees(_this40); | ||
@@ -850,0 +851,0 @@ })(); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
327395
4120