From a99bf20e394dd386f119409320f01e9fc4f8160a Mon Sep 17 00:00:00 2001 From: Trey Hunner Date: Wed, 27 Apr 2016 18:35:26 -0700 Subject: [PATCH 1/3] Fix missing quote and misspelling --- docs/blog-post.md | 2 +- docs/next.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/blog-post.md b/docs/blog-post.md index edcd38d..01dd248 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. diff --git a/docs/next.md b/docs/next.md index 9d5eedd..50e3e43 100644 --- a/docs/next.md +++ b/docs/next.md @@ -2,7 +2,7 @@ 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? From 88213b9dc9dc4809e06ad78d7049e75a3bd04c72 Mon Sep 17 00:00:00 2001 From: Trey Hunner Date: Wed, 27 Apr 2016 18:36:02 -0700 Subject: [PATCH 2/3] Make URL look like code --- docs/blog-post.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/blog-post.md b/docs/blog-post.md index 01dd248..bc8a6b4 100644 --- a/docs/blog-post.md +++ b/docs/blog-post.md @@ -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` From bb388a53c2d809ee1f5790adbe180de5c05530ec Mon Sep 17 00:00:00 2001 From: Trey Hunner Date: Wed, 27 Apr 2016 18:36:14 -0700 Subject: [PATCH 3/3] Make URL into link --- docs/next.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/next.md b/docs/next.md index 50e3e43..884cf58 100644 --- a/docs/next.md +++ b/docs/next.md @@ -1,6 +1,6 @@ # 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 brief workshop feedback form!