@enact/core
Advanced tools
Comparing version 2.4.1 to 2.5.0
@@ -5,2 +5,6 @@ # Change Log | ||
## [2.5.0] - 2019-04-01 | ||
No significant changes. | ||
## [2.4.1] - 2019-03-11 | ||
@@ -7,0 +11,0 @@ |
@@ -28,2 +28,4 @@ "use strict"; | ||
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } | ||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } | ||
@@ -33,4 +35,2 @@ | ||
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } | ||
// Gets a property from `provider` | ||
@@ -119,3 +119,3 @@ var get = function get(provider, name) { | ||
api.forEach(function (key) { | ||
Object.defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), key, { | ||
Object.defineProperty(_assertThisInitialized(_this), key, { | ||
get: get(provider, key), | ||
@@ -122,0 +122,0 @@ set: set(provider, key), |
@@ -23,2 +23,4 @@ "use strict"; | ||
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } | ||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } | ||
@@ -28,4 +30,2 @@ | ||
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } | ||
describe('ApiDecorator', function () { | ||
@@ -51,3 +51,3 @@ var _class, _temp; | ||
_this.instanceProperty = 'property'; | ||
props.setApiProvider(_assertThisInitialized(_assertThisInitialized(_this))); | ||
props.setApiProvider(_assertThisInitialized(_this)); | ||
return _this; | ||
@@ -54,0 +54,0 @@ } |
{ | ||
"name": "@enact/core", | ||
"version": "2.4.1", | ||
"version": "2.5.0", | ||
"description": "Enact is an open source JavaScript framework containing everything you need to create a fast, scalable mobile or web application.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
170431