Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fus-ext

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fus-ext - npm Package Compare versions

Comparing version 1.5.0 to 1.6.0

7

changelog.md

@@ -0,1 +1,8 @@

v1.6.0
======
2016-08-14T17:03:13Z
- Now observers can manually check the value.
v1.5.0

@@ -2,0 +9,0 @@ ======

2

package.json
{
"name": "fus-ext",
"version": "1.5.0",
"version": "1.6.0",
"description": "FutureScript Extension",

@@ -5,0 +5,0 @@ "keywords": [

@@ -516,19 +516,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {

var arg_573300145710716007 = _arguments11;return (function () {
var newValue;newValue = (function () {
try {
return (function () {
return _this15[var_573300145710716007_14]();
})();
} catch (catch_573300145710716007) {
return (function () {
return _this15.constructor[var_573300145710716007_13];
})();
} finally {}
})();newValue === undefined ? (function () {
newValue = _this15.constructor[var_573300145710716007_13];
})() : undefined;return _this15[var_573300145710716007_15] === undefined || !Object.is(newValue, _this15[var_573300145710716007_15]) ? (function () {
_this15.onUpdate.fire({ value: newValue });_this15[var_573300145710716007_15] !== undefined ? (function () {
return _this15.onChange.fire({ oldValue: _this15[var_573300145710716007_15], newValue: newValue });
})() : undefined;_this15[var_573300145710716007_15] = newValue;
})() : undefined;
return _this15.check();
})();

@@ -540,2 +524,32 @@ });

_createClass(class_573300145710716007, [{
key: "check",
value: function check() {
var _arguments12 = arguments,
_this16 = this;
return (function () {
var arg_573300145710716007 = _arguments12;return (function () {
var newValue;newValue = (function () {
try {
return (function () {
return _this16[var_573300145710716007_14]();
})();
} catch (catch_573300145710716007) {
return (function () {
return _this16.constructor[var_573300145710716007_13];
})();
} finally {}
})();newValue === undefined ? (function () {
newValue = _this16.constructor[var_573300145710716007_13];
})() : undefined;return _this16[var_573300145710716007_15] === undefined || !Object.is(newValue, _this16[var_573300145710716007_15]) ? (function () {
_this16.onUpdate.fire({ value: newValue });_this16[var_573300145710716007_15] !== undefined ? (function () {
return _this16.onChange.fire({ oldValue: _this16[var_573300145710716007_15], newValue: newValue });
})() : undefined;_this16[var_573300145710716007_15] = newValue;
})() : undefined;
})();
})();
}
}]);
return class_573300145710716007;

@@ -546,3 +560,3 @@ })(IntervalTimer);class_573300145710716007[var_573300145710716007_13] = new Error();return class_573300145710716007;

function class_573300145710716007(x, y) {
var _this16 = this;
var _this17 = this;

@@ -553,3 +567,3 @@ _classCallCheck(this, class_573300145710716007);

return (function () {
_this16.x = x;_this16.y = y;
_this17.x = x;_this17.y = y;
})();

@@ -562,8 +576,8 @@ })(x, y);

value: function real() {
var _arguments12 = arguments,
_this17 = this;
var _arguments13 = arguments,
_this18 = this;
return (function () {
var arg_573300145710716007 = _arguments12;return (function () {
return _this17.x;
var arg_573300145710716007 = _arguments13;return (function () {
return _this18.x;
})();

@@ -575,8 +589,8 @@ })();

value: function imaginary() {
var _arguments13 = arguments,
_this18 = this;
var _arguments14 = arguments,
_this19 = this;
return (function () {
var arg_573300145710716007 = _arguments13;return (function () {
return _this18.y;
var arg_573300145710716007 = _arguments14;return (function () {
return _this19.y;
})();

@@ -588,8 +602,8 @@ })();

value: function toString() {
var _arguments14 = arguments,
_this19 = this;
var _arguments15 = arguments,
_this20 = this;
return (function () {
var arg_573300145710716007 = _arguments14;return (function () {
return "(" + _this19.x + "," + _this19.y + ")";
var arg_573300145710716007 = _arguments15;return (function () {
return "(" + _this20.x + "," + _this20.y + ")";
})();

@@ -601,12 +615,12 @@ })();

value: function toComplexString() {
var _arguments15 = arguments,
_this20 = this;
var _arguments16 = arguments,
_this21 = this;
return (function () {
var arg_573300145710716007 = _arguments15;return (function () {
var sign;sign = _this20.y >= 0 ? (function () {
var arg_573300145710716007 = _arguments16;return (function () {
var sign;sign = _this21.y >= 0 ? (function () {
return "+";
})() : (function () {
return "-";
})();return "" + _this20.x + "" + sign + "" + Math.abs(_this20.y) + "i";
})();return "" + _this21.x + "" + sign + "" + Math.abs(_this21.y) + "i";
})();

@@ -618,8 +632,8 @@ })();

value: function toArray() {
var _arguments16 = arguments,
_this21 = this;
var _arguments17 = arguments,
_this22 = this;
return (function () {
var arg_573300145710716007 = _arguments16;return (function () {
return [_this21.x, _this21.y];
var arg_573300145710716007 = _arguments17;return (function () {
return [_this22.x, _this22.y];
})();

@@ -631,8 +645,8 @@ })();

value: function clone() {
var _arguments17 = arguments,
_this22 = this;
var _arguments18 = arguments,
_this23 = this;
return (function () {
var arg_573300145710716007 = _arguments17;return (function () {
return new Point(_this22.x, _this22.y);
var arg_573300145710716007 = _arguments18;return (function () {
return new Point(_this23.x, _this23.y);
})();

@@ -644,7 +658,7 @@ })();

value: function equals(p) {
var _this23 = this;
var _this24 = this;
return (function (p) {
return (function () {
return cmath.equals(_this23, p);
return cmath.equals(_this24, p);
})();

@@ -656,7 +670,7 @@ })(p);

value: function approxEquals(p) {
var _this24 = this;
var _this25 = this;
return (function (p) {
return (function () {
return cmath.approxEquals(_this24, p);
return cmath.approxEquals(_this25, p);
})();

@@ -668,8 +682,8 @@ })(p);

value: function opposite() {
var _arguments18 = arguments,
_this25 = this;
var _arguments19 = arguments,
_this26 = this;
return (function () {
var arg_573300145710716007 = _arguments18;return (function () {
return cmath.opposite(_this25);
var arg_573300145710716007 = _arguments19;return (function () {
return cmath.opposite(_this26);
})();

@@ -681,8 +695,8 @@ })();

value: function reciprocal() {
var _arguments19 = arguments,
_this26 = this;
var _arguments20 = arguments,
_this27 = this;
return (function () {
var arg_573300145710716007 = _arguments19;return (function () {
return cmath.reciprocal(_this26);
var arg_573300145710716007 = _arguments20;return (function () {
return cmath.reciprocal(_this27);
})();

@@ -694,8 +708,8 @@ })();

value: function conjugate() {
var _arguments20 = arguments,
_this27 = this;
var _arguments21 = arguments,
_this28 = this;
return (function () {
var arg_573300145710716007 = _arguments20;return (function () {
return cmath.conjugate(_this27);
var arg_573300145710716007 = _arguments21;return (function () {
return cmath.conjugate(_this28);
})();

@@ -707,8 +721,8 @@ })();

value: function abs() {
var _arguments21 = arguments,
_this28 = this;
var _arguments22 = arguments,
_this29 = this;
return (function () {
var arg_573300145710716007 = _arguments21;return (function () {
return cmath.abs(_this28);
var arg_573300145710716007 = _arguments22;return (function () {
return cmath.abs(_this29);
})();

@@ -720,7 +734,7 @@ })();

value: function add(p) {
var _this29 = this;
var _this30 = this;
return (function (p) {
return (function () {
return cmath.add(_this29, p);
return cmath.add(_this30, p);
})();

@@ -732,7 +746,7 @@ })(p);

value: function subtract(p) {
var _this30 = this;
var _this31 = this;
return (function (p) {
return (function () {
return cmath.subtract(_this30, p);
return cmath.subtract(_this31, p);
})();

@@ -744,7 +758,7 @@ })(p);

value: function multiply(p) {
var _this31 = this;
var _this32 = this;
return (function (p) {
return (function () {
return cmath.multiply(_this31, p);
return cmath.multiply(_this32, p);
})();

@@ -756,7 +770,7 @@ })(p);

value: function divide(p) {
var _this32 = this;
var _this33 = this;
return (function (p) {
return (function () {
return cmath.divide(_this32, p);
return cmath.divide(_this33, p);
})();

@@ -768,7 +782,7 @@ })(p);

value: function distance(p) {
var _this33 = this;
var _this34 = this;
return (function (p) {
return (function () {
return cmath.distance(_this33, p);
return cmath.distance(_this34, p);
})();

@@ -780,7 +794,7 @@ })(p);

value: function dotProduct(p) {
var _this34 = this;
var _this35 = this;
return (function (p) {
return (function () {
p = Point.from(p);return _this34.x * p.x + _this34.y * p.y;
p = Point.from(p);return _this35.x * p.x + _this35.y * p.y;
})();

@@ -792,7 +806,7 @@ })(p);

value: function crossProduct(p) {
var _this35 = this;
var _this36 = this;
return (function (p) {
return (function () {
p = Point.from(p);return _this35.x * p.y - _this35.y * p.x;
p = Point.from(p);return _this36.x * p.y - _this36.y * p.x;
})();

@@ -804,7 +818,7 @@ })(p);

value: function isOppositeTo(p) {
var _this36 = this;
var _this37 = this;
return (function (p) {
return (function () {
return _this36.opposite().equals(p);
return _this37.opposite().equals(p);
})();

@@ -816,8 +830,8 @@ })(p);

value: function phase() {
var _arguments22 = arguments,
_this37 = this;
var _arguments23 = arguments,
_this38 = this;
return (function () {
var arg_573300145710716007 = _arguments22;return (function () {
return cmath.phase(_this37);
var arg_573300145710716007 = _arguments23;return (function () {
return cmath.phase(_this38);
})();

@@ -829,7 +843,7 @@ })();

value: function phaseTo(p) {
var _this38 = this;
var _this39 = this;
return (function (p) {
return (function () {
p = Point.from(p);return dotDotCalc_573300145710716007(dotDot_573300145710716007, Math, "principalRadians", [p.phase() - _this38.phase()]);
p = Point.from(p);return dotDotCalc_573300145710716007(dotDot_573300145710716007, Math, "principalRadians", [p.phase() - _this39.phase()]);
})();

@@ -841,8 +855,8 @@ })(p);

value: function phaseInDegrees() {
var _arguments23 = arguments,
_this39 = this;
var _arguments24 = arguments,
_this40 = this;
return (function () {
var arg_573300145710716007 = _arguments23;return (function () {
return cmath.phaseInDegrees(_this39);
var arg_573300145710716007 = _arguments24;return (function () {
return cmath.phaseInDegrees(_this40);
})();

@@ -854,7 +868,7 @@ })();

value: function phaseInDegreesTo(p) {
var _this40 = this;
var _this41 = this;
return (function (p) {
return (function () {
p = Point.from(p);return dotDotCalc_573300145710716007(dotDot_573300145710716007, Math, "principalDegrees", [p.phaseInDegrees() - _this40.phaseInDegrees()]);
p = Point.from(p);return dotDotCalc_573300145710716007(dotDot_573300145710716007, Math, "principalDegrees", [p.phaseInDegrees() - _this41.phaseInDegrees()]);
})();

@@ -866,3 +880,3 @@ })(p);

value: function scale(value, second) {
var _this41 = this;
var _this42 = this;

@@ -879,3 +893,3 @@ return (function (value, second) {

return Point.from(value);
})();return new Point(_this41.x * size.x, _this41.y * size.y);
})();return new Point(_this42.x * size.x, _this42.y * size.y);
})();

@@ -887,7 +901,7 @@ })(value, second);

value: function rotate(angle) {
var _this42 = this;
var _this43 = this;
return (function (angle) {
return (function () {
return _this42.multiply(Point.fromPolar(1, angle));
return _this43.multiply(Point.fromPolar(1, angle));
})();

@@ -899,7 +913,7 @@ })(angle);

value: function rotateDegrees(angle) {
var _this43 = this;
var _this44 = this;
return (function (angle) {
return (function () {
return _this43.multiply(Point.fromPolarInDegrees(1, angle));
return _this44.multiply(Point.fromPolarInDegrees(1, angle));
})();

@@ -906,0 +920,0 @@ })(angle);

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc