-
-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
all the fixes needed to get it running
- Loading branch information
Showing
15 changed files
with
11,551 additions
and
9,126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import Service from '@ember/service'; | ||
|
||
export default class FakeFastbootService extends Service { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
import fetch from 'fetch'; | ||
import Service from '@ember/service'; | ||
import { tracked } from '@glimmer/tracking'; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +0,0 @@ | ||
<LoadingSpinner /> | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{{#if (eq @model.id "ember-data")}} | ||
<EmberDataLandingPage /> | ||
|
||
{{else}} | ||
<EmberLandingPage /> | ||
|
||
{{/if}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
diff --git a/addon/-private/system/backburner.js b/addon/-private/system/backburner.js | ||
index 6aa30ddf1a6c5151f68ec7a1e2b30e34fae64716..28cc2bad6367c2a41a0b589c7e788bf6bcb19ec5 100644 | ||
--- a/addon/-private/system/backburner.js | ||
+++ b/addon/-private/system/backburner.js | ||
@@ -2,7 +2,6 @@ | ||
@module @ember-data/store | ||
*/ | ||
|
||
-import { registerWaiter } from '@ember/test'; | ||
import { DEBUG } from '@glimmer/env'; | ||
import Ember from 'ember'; | ||
|
||
@@ -17,9 +16,7 @@ import Ember from 'ember'; | ||
const backburner = new Ember._Backburner(['coalesce', 'sync', 'notify']); | ||
|
||
if (DEBUG) { | ||
- registerWaiter(() => { | ||
- return !backburner.currentInstance && !backburner.hasTimers(); | ||
- }); | ||
+ | ||
} | ||
|
||
export default backburner; | ||
diff --git a/addon/-private/system/core-store.ts b/addon/-private/system/core-store.ts | ||
index f7eb8b96bd70abb8b8ebf5beb8a755853e38adc6..319c72e5beb6474a3111b1c5be9b4537797d5b27 100644 | ||
--- a/addon/-private/system/core-store.ts | ||
+++ b/addon/-private/system/core-store.ts | ||
@@ -8,7 +8,6 @@ import { computed, defineProperty, get, set } from '@ember/object'; | ||
import { assign } from '@ember/polyfills'; | ||
import { _backburner as emberBackburner } from '@ember/runloop'; | ||
import Service from '@ember/service'; | ||
-import { registerWaiter, unregisterWaiter } from '@ember/test'; | ||
import { isNone, isPresent, typeOf } from '@ember/utils'; | ||
import { DEBUG } from '@glimmer/env'; | ||
import Ember from 'ember'; | ||
@@ -414,8 +413,6 @@ abstract class CoreStore extends Service { | ||
|
||
return shouldTrack !== true || isSettled; | ||
}; | ||
- | ||
- registerWaiter(this.__asyncWaiter); | ||
} | ||
} | ||
|
||
@@ -3690,7 +3687,6 @@ abstract class CoreStore extends Service { | ||
this.unloadAll(); | ||
|
||
if (DEBUG) { | ||
- unregisterWaiter(this.__asyncWaiter); | ||
let shouldTrack = this.shouldTrackAsyncRequests; | ||
let tracked = this._trackedAsyncRequests; | ||
let isSettled = tracked.length === 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
diff --git a/CHANGELOG.md b/CHANGELOG.md | ||
deleted file mode 100644 | ||
index 7ab6fbae31241ccf49da5f1dcea7690738e659d9..0000000000000000000000000000000000000000 | ||
diff --git a/dist/packages/@ember/-internals/runtime/.gitignore b/dist/packages/@ember/-internals/runtime/.gitignore | ||
deleted file mode 100644 | ||
index a1136368651e6eb6d0d93a09c478f4978f4196fa..0000000000000000000000000000000000000000 | ||
diff --git a/dist/packages/@ember/debug/index.js b/dist/packages/@ember/debug/index.js | ||
index 6e9b00d5c858be042cd530bcb647fc87d2a00e83..393bdc04dbf1ecc6a091b4696303affa0d94c4a2 100644 | ||
--- a/dist/packages/@ember/debug/index.js | ||
+++ b/dist/packages/@ember/debug/index.js | ||
@@ -1,7 +1,7 @@ | ||
import { isChrome, isFirefox } from '@ember/-internals/browser-environment'; | ||
import EmberError from '@ember/error'; | ||
import { DEBUG } from '@glimmer/env'; | ||
-import _deprecate from './lib/deprecate'; | ||
+import defaultDeprecate from './lib/deprecate'; | ||
import { isTesting } from './lib/testing'; | ||
import _warn from './lib/warn'; | ||
export { inspect } from '@ember/-internals/utils'; | ||
@@ -16,7 +16,7 @@ let assert = noop; | ||
let info = noop; | ||
let warn = noop; | ||
let debug = noop; | ||
-let deprecate = noop; | ||
+let currentDeprecate; | ||
let debugSeal = noop; | ||
let debugFreeze = noop; | ||
let runInDebug = noop; | ||
@@ -27,6 +27,14 @@ let deprecateFunc = function () { | ||
return arguments[arguments.length - 1]; | ||
}; | ||
|
||
+export function deprecate() { | ||
+ if (currentDeprecate) { | ||
+ return currentDeprecate(...arguments); | ||
+ } | ||
+ | ||
+ return defaultDeprecate(...arguments); | ||
+} | ||
+ | ||
if (DEBUG) { | ||
setDebugFunction = function (type, callback) { | ||
switch (type) { | ||
@@ -43,7 +51,7 @@ if (DEBUG) { | ||
return debug = callback; | ||
|
||
case 'deprecate': | ||
- return deprecate = callback; | ||
+ return currentDeprecate = callback; | ||
|
||
case 'debugSeal': | ||
return debugSeal = callback; | ||
@@ -251,7 +259,6 @@ if (DEBUG) { | ||
Object.freeze(obj); | ||
} | ||
}); | ||
- setDebugFunction('deprecate', _deprecate); | ||
setDebugFunction('warn', _warn); | ||
} | ||
|
||
@@ -275,4 +282,4 @@ if (DEBUG && !isTesting()) { | ||
} | ||
} | ||
|
||
-export { assert, info, warn, debug, deprecate, debugSeal, debugFreeze, runInDebug, deprecateFunc, setDebugFunction, getDebugFunction, _warnIfUsingStrippedFeatureFlags }; | ||
\ No newline at end of file | ||
+export { assert, info, warn, debug, debugSeal, debugFreeze, runInDebug, deprecateFunc, setDebugFunction, getDebugFunction, _warnIfUsingStrippedFeatureFlags }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
diff --git a/lib/css-syntax-error.js b/lib/css-syntax-error.js | ||
index 169303329e6359e12d59b32cfffc302dd84d2280..74f2908c084ddfdf068993c93ba1cd810b25607b 100644 | ||
--- a/lib/css-syntax-error.js | ||
+++ b/lib/css-syntax-error.js | ||
@@ -2,7 +2,7 @@ | ||
|
||
let pico = require('picocolors') | ||
|
||
-let terminalHighlight = require('./terminal-highlight') | ||
+let terminalHighlight = require('./terminal-highlight.js') | ||
|
||
class CssSyntaxError extends Error { | ||
constructor(message, line, column, source, file, plugin) { | ||
diff --git a/lib/input.js b/lib/input.js | ||
index 4b5ee5e02f8ecdf880594d191ec1e84b983faeaa..121ae28e6faa06c6c4f773bd015b475e66f4e061 100644 | ||
--- a/lib/input.js | ||
+++ b/lib/input.js | ||
@@ -5,9 +5,9 @@ let { fileURLToPath, pathToFileURL } = require('url') | ||
let { isAbsolute, resolve } = require('path') | ||
let { nanoid } = require('nanoid/non-secure') | ||
|
||
-let terminalHighlight = require('./terminal-highlight') | ||
-let CssSyntaxError = require('./css-syntax-error') | ||
-let PreviousMap = require('./previous-map') | ||
+let terminalHighlight = require('./terminal-highlight.js') | ||
+let CssSyntaxError = require('./css-syntax-error.js') | ||
+let PreviousMap = require('./previous-map.js') | ||
|
||
let fromOffsetCache = Symbol('fromOffsetCache') | ||
|
Oops, something went wrong.