You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: guides/v2.10.0/configuring-ember/handling-deprecations.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ changes to the framework. Before any functionality or API is removed it first g
3
3
still supported, but usage of it generates a warning logged to the browser console. These warnings can pile up between major releases to a point where the amount of
4
4
deprecation warnings that scroll through the console becomes overwhelming.
5
5
6
-
<imgwidth="675px"title="Deprecations Clouding up the Browser JavaScript Console"src="../../images/guides/configuring-ember/handling-deprecations/deprecations-in-console.png"/>
6
+
<imgwidth="675px"title="Deprecations Clouding up the Browser JavaScript Console"src="/images/guides/configuring-ember/handling-deprecations/deprecations-in-console.png"/>
7
7
8
8
Fortunately, Ember provides a way for projects to deal with deprecations in an organized and efficient manner.
9
9
@@ -47,7 +47,7 @@ manually exercise functionality within your app where needed. Once you've exerc
47
47
your browser console: `deprecationWorkflow.flushDeprecations()`. This will print to the console JavaScript code, which you should then copy to a
48
48
new file in your project called `/config/deprecation-workflow.js`
49
49
50
-
<imgwidth="675px"title="Generated Deprecation Code from Browser Console"src="../../images/guides/configuring-ember/handling-deprecations/generate-deprecation-code.png"/>
50
+
<imgwidth="675px"title="Generated Deprecation Code from Browser Console"src="/images/guides/configuring-ember/handling-deprecations/generate-deprecation-code.png"/>
51
51
52
52
Here's an example of a deprecation-workflow file after generated from the console:
@@ -125,7 +125,7 @@ so that you can start the process over for the next release.
125
125
As you upgrade between releases, you might also notice that your terminal log begins to stream template-related deprecation warnings during the compile process, making
If you are using the deprecation workflow process above, you will likely prefer to gather these warnings during runtime execution instead. The way to hide these
131
131
warnings during compile is to install the [ember-cli-template-lint](http://emberobserver.com/addons/ember-cli-template-lint) addon. It suppresses
Imagine we are writing a web app for a site that lets users list their properties to rent. At any given time, we should be able to answer questions about the current state like _What rental are they looking at?_ and _Are they editing it?_ In Ember, the answer to these questions is determined by the URL.
Copy file name to clipboardExpand all lines: guides/v2.10.0/tutorial/autocomplete-component.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -262,6 +262,6 @@ export default function() {
262
262
263
263
After updating our mirage configuration, we should see passing tests, as well as a simple filter on your home screen, that will update the rental list as you type:
264
264
265
-

265
+

0 commit comments