diff --git a/README.md b/README.md index 3ef2c4ce..b0ef030e 100644 --- a/README.md +++ b/README.md @@ -23,10 +23,10 @@ After that, simply register the breakpoints that are pertinent to your applicati ```js export default { - mobile: '(max-width: 767px)', - tablet: '(min-width: 768px) and (max-width: 991px)', + mobile: '(max-width: 767px)', + tablet: '(min-width: 768px) and (max-width: 991px)', desktop: '(min-width: 992px) and (max-width: 1200px)', - jumbo: '(min-width: 1201px)' + jumbo: '(min-width: 1201px)' }; ``` @@ -37,7 +37,7 @@ Now you can inject the _media_ service in any object with access to the containe ```js import Controller from '@ember/controller'; -import { inject as service } from '@ember/service'; +import { service } from '@ember/service'; export default class SomeController extends Controller { @service media; @@ -63,7 +63,7 @@ queries in CSS, instead simply use classes to style the different devices. In your application.hbs template: ```hbs -