tabris 3.9.0-dev.20220807 → 3.9.0-dev.20220916

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.
package/boot.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Tabris.js 3.9.0-dev.20220807+0311
2
+ * Tabris.js 3.9.0-dev.20220916+1350
3
3
  *
4
4
  * Copyright (c) 2014, 2020 EclipseSource Inc.
5
5
  * All rights reserved.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabris",
3
- "version": "3.9.0-dev.20220807+0311",
3
+ "version": "3.9.0-dev.20220916+1350",
4
4
  "description": "Mobile apps with native UIs in JavaScript",
5
5
  "keywords": [
6
6
  "native",
package/tabris.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Type definitions for Tabris.js 3.9.0-dev.20220807+0311
1
+ // Type definitions for Tabris.js 3.9.0-dev.20220916+1350
2
2
  /// <reference path="globals.d.ts" />
3
3
 
4
4
  // General helper types
package/tabris.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Tabris.js 3.9.0-dev.20220807+0311
2
+ * Tabris.js 3.9.0-dev.20220916+1350
3
3
  *
4
4
  * Copyright (c) 2014, 2020 EclipseSource Inc.
5
5
  * All rights reserved.
@@ -5035,7 +5035,7 @@ class Tabris extends NativeObject {
5035
5035
  this.$publishProxies();
5036
5036
  }
5037
5037
  get version() {
5038
- return '3.9.0-dev.20220807+0311';
5038
+ return '3.9.0-dev.20220916+1350';
5039
5039
  }
5040
5040
  get started() {
5041
5041
  return !!this._started;
@@ -5647,6 +5647,7 @@ class Animation extends NativeObject {
5647
5647
  constructor(properties) {
5648
5648
  super(properties);
5649
5649
  this._nativeListen('completed', true);
5650
+ this._nativeListen('rejected', true);
5650
5651
  }
5651
5652
  get _nativeType() {
5652
5653
  return 'tabris.Animation';
@@ -5659,11 +5660,19 @@ class Animation extends NativeObject {
5659
5660
  }
5660
5661
  this.dispose();
5661
5662
  }
5663
+ else if (name === 'rejected') {
5664
+ this.target.off('_dispose', this.abort, this);
5665
+ this.abort();
5666
+ }
5662
5667
  else {
5663
5668
  super._trigger(name, event);
5664
5669
  }
5665
5670
  }
5666
5671
  start(resolve, reject) {
5672
+ if (this.target.isDisposed()) {
5673
+ this.abort();
5674
+ return;
5675
+ }
5667
5676
  this.target.on('_dispose', this.abort, this);
5668
5677
  Object.defineProperties(this, {
5669
5678
  _resolve: { enumerable: false, writable: false, value: resolve },