diff --git a/docs/blog-post.md b/docs/blog-post.md index edcd38d..bc8a6b4 100644 --- a/docs/blog-post.md +++ b/docs/blog-post.md @@ -22,7 +22,7 @@ export default Model.extend({ }); ``` -What is that funky syntax? `import Model from 'ember-data/model` and `export default Model.extend()`? Welcome to the world of tomorrow! +What is that funky syntax? `import Model from 'ember-data/model'` and `export default Model.extend()`? Welcome to the world of tomorrow! Those `import` and `export` statements use ECMAScript 6 module syntax. Thanks to the magic of transpilers, we can already use them today even though no browsers support ES6 yet. This should look familiar if you have used Node.js or AMD modules, there's just slightly different syntax. We're importing a module from 'ember-data/model' and calling it `Model`. Then we're extending the `Model` class and using that as our module export. @@ -288,7 +288,7 @@ Based on our route's dynamic URL segments the REST Adapter will make the proper **ProTip™** The store action determines the model name based on the defined dynamic segment. In our example `:blog_post_id` contains the proper snake-case name for our model with the suffix `_id` appended. -To confirm that this works, **delete the `app/routes/blog-post.js` file** and verify that our blog post page (http://localhost:4200/post/1) still works properly after reload. +To confirm that this works, **delete the `app/routes/blog-post.js` file** and verify that our blog post page (`http://localhost:4200/post/1`) still works properly after reload. Ember-CLI created a route test file automatically as well. To make sure your tests continue to pass, if you delete `app/routes/blog-post.js` you should also delete `tests/unit/routes/blog-post-test.js` diff --git a/docs/next.md b/docs/next.md index 9d5eedd..884cf58 100644 --- a/docs/next.md +++ b/docs/next.md @@ -1,8 +1,8 @@ # Feedback -https://hbrysiewicz.typeform.com/to/DMKtHS +[https://hbrysiewicz.typeform.com/to/DMKtHS](https://hbrysiewicz.typeform.com/to/DMKtHS) -Please take 2 minutes to complete our breif workshop feedback form! +Please take 2 minutes to complete our brief workshop feedback form! # Where do I go next?