Skip to content

Commit

Permalink
fix loading
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklx committed Aug 31, 2023
1 parent 9a0e178 commit e26bda1
Show file tree
Hide file tree
Showing 3 changed files with 108 additions and 1,180 deletions.
3 changes: 2 additions & 1 deletion ember_debug/utils/type-check.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ export function getDescriptorFor(object, key) {
const { descriptorForDecorator, descriptorForProperty } =
emberSafeRequire('@ember/-internals/metal') || {};
return (
descriptorForDecorator(object[key]) || descriptorForProperty(object, key)
descriptorForDecorator?.(object[key]) ||
descriptorForProperty?.(object, key)
);
}

Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,20 +106,20 @@
"ember-load-initializers": "^2.1.2",
"ember-math-helpers": "^3.0.0",
"ember-on-resize-modifier": "^1.0.0",
"ember-qunit": "^5.1.5",
"ember-qunit": "^6.1.1",
"ember-resolver": "^10.0.0",
"ember-router-service-refresh-polyfill": "^1.0.1",
"ember-showdown": "^1.0.0-beta.1",
"ember-sinon-qunit": "^7.1.4",
"ember-source": "~3.16.0",
"ember-source": "~4.12.0",
"ember-source-channel-url": "^3.0.0",
"ember-svg-jar": "^2.4.4",
"ember-table": "^5.0.1",
"ember-template-lint": "^5.2.0",
"ember-test-selectors": "^6.0.0",
"ember-truth-helpers": "^3.0.0",
"ember-try": "^2.0.0",
"ember-wormhole": "^0.6.0",
"ember-try": "^2.0.0",
"ensure-posix-path": "^1.1.1",
"eslint": "^8.17.0",
"eslint-config-prettier": "^8.5.0",
Expand Down Expand Up @@ -195,4 +195,4 @@
"node": "18.16.0",
"pnpm": "8.6.2"
}
}
}
Loading

0 comments on commit e26bda1

Please sign in to comment.