@aurelia/platform-browser
Advanced tools
Comparing version 0.9.0-dev.202101280542 to 0.9.0-dev.202101281311
@@ -13,2 +13,3 @@ "use strict"; | ||
constructor(g, overrides = {}) { | ||
var _a, _b, _c, _d, _e, _f; | ||
super(g, overrides); | ||
@@ -31,5 +32,5 @@ this.domReadRequested = false; | ||
this.navigator = 'navigator' in overrides ? overrides.navigator : g.navigator; | ||
this.fetch = 'fetch' in overrides ? overrides.fetch : g.fetch?.bind(g) ?? notImplemented('fetch'); | ||
this.requestAnimationFrame = 'requestAnimationFrame' in overrides ? overrides.requestAnimationFrame : g.requestAnimationFrame?.bind(g) ?? notImplemented('requestAnimationFrame'); | ||
this.cancelAnimationFrame = 'cancelAnimationFrame' in overrides ? overrides.cancelAnimationFrame : g.cancelAnimationFrame?.bind(g) ?? notImplemented('cancelAnimationFrame'); | ||
this.fetch = 'fetch' in overrides ? overrides.fetch : (_b = (_a = g.fetch) === null || _a === void 0 ? void 0 : _a.bind(g)) !== null && _b !== void 0 ? _b : notImplemented('fetch'); | ||
this.requestAnimationFrame = 'requestAnimationFrame' in overrides ? overrides.requestAnimationFrame : (_d = (_c = g.requestAnimationFrame) === null || _c === void 0 ? void 0 : _c.bind(g)) !== null && _d !== void 0 ? _d : notImplemented('requestAnimationFrame'); | ||
this.cancelAnimationFrame = 'cancelAnimationFrame' in overrides ? overrides.cancelAnimationFrame : (_f = (_e = g.cancelAnimationFrame) === null || _e === void 0 ? void 0 : _e.bind(g)) !== null && _f !== void 0 ? _f : notImplemented('cancelAnimationFrame'); | ||
this.customElements = 'customElements' in overrides ? overrides.customElements : g.customElements; | ||
@@ -36,0 +37,0 @@ this.flushDomRead = this.flushDomRead.bind(this); |
@@ -10,2 +10,3 @@ import { Platform, TaskQueue } from '@aurelia/platform'; | ||
constructor(g, overrides = {}) { | ||
var _a, _b, _c, _d, _e, _f; | ||
super(g, overrides); | ||
@@ -28,5 +29,5 @@ this.domReadRequested = false; | ||
this.navigator = 'navigator' in overrides ? overrides.navigator : g.navigator; | ||
this.fetch = 'fetch' in overrides ? overrides.fetch : g.fetch?.bind(g) ?? notImplemented('fetch'); | ||
this.requestAnimationFrame = 'requestAnimationFrame' in overrides ? overrides.requestAnimationFrame : g.requestAnimationFrame?.bind(g) ?? notImplemented('requestAnimationFrame'); | ||
this.cancelAnimationFrame = 'cancelAnimationFrame' in overrides ? overrides.cancelAnimationFrame : g.cancelAnimationFrame?.bind(g) ?? notImplemented('cancelAnimationFrame'); | ||
this.fetch = 'fetch' in overrides ? overrides.fetch : (_b = (_a = g.fetch) === null || _a === void 0 ? void 0 : _a.bind(g)) !== null && _b !== void 0 ? _b : notImplemented('fetch'); | ||
this.requestAnimationFrame = 'requestAnimationFrame' in overrides ? overrides.requestAnimationFrame : (_d = (_c = g.requestAnimationFrame) === null || _c === void 0 ? void 0 : _c.bind(g)) !== null && _d !== void 0 ? _d : notImplemented('requestAnimationFrame'); | ||
this.cancelAnimationFrame = 'cancelAnimationFrame' in overrides ? overrides.cancelAnimationFrame : (_f = (_e = g.cancelAnimationFrame) === null || _e === void 0 ? void 0 : _e.bind(g)) !== null && _f !== void 0 ? _f : notImplemented('cancelAnimationFrame'); | ||
this.customElements = 'customElements' in overrides ? overrides.customElements : g.customElements; | ||
@@ -33,0 +34,0 @@ this.flushDomRead = this.flushDomRead.bind(this); |
{ | ||
"name": "@aurelia/platform-browser", | ||
"version": "0.9.0-dev.202101280542", | ||
"version": "0.9.0-dev.202101281311", | ||
"main": "dist/cjs/index.js", | ||
@@ -40,3 +40,3 @@ "module": "dist/esm/index.js", | ||
"dependencies": { | ||
"@aurelia/platform": "0.9.0-dev.202101280542" | ||
"@aurelia/platform": "0.9.0-dev.202101281311" | ||
}, | ||
@@ -43,0 +43,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
35310
374
+ Added@aurelia/platform@0.9.0-dev.202101281311(transitive)
- Removed@aurelia/platform@0.9.0-dev.202101280542(transitive)