@opra/common 1.13.0 → 1.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,8 +15,9 @@ const data_type_js_1 = require("./data-type.js");
15
15
  */
16
16
  exports.MixinType = function (...args) {
17
17
  // MixinType factory
18
- if (!this)
18
+ if (!this) {
19
19
  return exports.MixinType[constants_js_1.DECORATOR].apply(undefined, args);
20
+ }
20
21
  // Constructor
21
22
  const [owner, initArgs, context] = args;
22
23
  complex_type_base_js_1.ComplexTypeBase.call(this, owner, initArgs, context);
@@ -12,8 +12,9 @@ import { DataType } from './data-type.js';
12
12
  */
13
13
  export const MixinType = function (...args) {
14
14
  // MixinType factory
15
- if (!this)
15
+ if (!this) {
16
16
  return MixinType[DECORATOR].apply(undefined, args);
17
+ }
17
18
  // Constructor
18
19
  const [owner, initArgs, context] = args;
19
20
  ComplexTypeBase.call(this, owner, initArgs, context);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opra/common",
3
- "version": "1.13.0",
3
+ "version": "1.14.0",
4
4
  "description": "Opra common package",
5
5
  "author": "Panates",
6
6
  "license": "MIT",