Skip to content

Commit 53b914d

Browse files
committed
Strict eslint config and additional WASM integrations
1 parent 9dbdf0f commit 53b914d

272 files changed

Lines changed: 18806 additions & 10037 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

dist/angular-runtime.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ class AngularRuntime extends EventTarget {
266266
if (existingScope?.$handler && !existingScope.$handler._destroyed) {
267267
existingScope.$destroy();
268268
}
269-
else if (scope.$handler && !scope.$handler._destroyed) {
269+
else if (!scope.$handler._destroyed) {
270270
scope.$destroy();
271271
}
272272
if (rootScopeCleanupByElement.get(rootElement)) {
@@ -392,7 +392,7 @@ class AngularRuntime extends EventTarget {
392392
* Returns the existing module instance for `name` or creates it via `factory`.
393393
*/
394394
function ensure(obj, name, factory) {
395-
return obj[name] || (obj[name] = factory());
395+
return obj[name] ?? (obj[name] = factory());
396396
}
397397
function normalizeRuntimeOptions(options) {
398398
if (typeof options === "boolean") {

0 commit comments

Comments
 (0)