We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1b0394 commit feba16bCopy full SHA for feba16b
packages/@ember/object/core.ts
@@ -456,10 +456,6 @@ class CoreObject {
456
return false;
457
}
458
459
- static detectInstance(obj: unknown) {
460
- return obj instanceof this;
461
- }
462
-
463
static get superclass() {
464
let c = Object.getPrototypeOf(this);
465
return c !== Function.prototype ? c : undefined;
packages/@ember/object/tests/detectInstance_test.js
packages/@ember/object/tests/toString_test.js
@@ -12,10 +12,7 @@ moduleFor(
12
// simulate these classes being defined on a Namespace
13
setName(Foo, 'Foo');
14
15
- assert.equal(
16
- foo.toString(),
17
- '<(unknown):' + guidFor(foo) + '>'
18
- );
+ assert.equal(foo.toString(), '<(unknown):' + guidFor(foo) + '>');
19
20
21
);
0 commit comments