From 6632ea77a7d2575c34dab283cc78f61a950fe108 Mon Sep 17 00:00:00 2001 From: Esteban Arango Medina Date: Fri, 12 Oct 2018 22:51:27 -0500 Subject: [PATCH 1/2] Clean readme examples --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 0d1bb12..ba57a8e 100644 --- a/README.md +++ b/README.md @@ -35,10 +35,10 @@ Below is an example of a component that uses the property mixin provided by this addon: ```js -import Ember from 'ember' -import {PropTypes} from 'ember-prop-types' +import Component from '@ember/component'; +import { PropTypes } from 'ember-prop-types' -export default Ember.Component.extend({ +export default Component.extend({ propTypes: { foo: PropTypes.string, bar: PropTypes.number.isRequired, @@ -60,10 +60,9 @@ If this mixin is being used in a class other than Component, it will need to be mixed into the class: ```js -import Ember from 'ember' -import PropTypeMixin, {PropTypes} from 'ember-prop-types' +import PropTypeMixin, { PropTypes } from 'ember-prop-types' -export default Ember.ClassName.extend(PropTypeMixin, { +export default ClassName.extend(PropTypeMixin, { propTypes: { foo: PropTypes.string, bar: PropTypes.number.isRequired, From 4f1b2ae870812fcff63ed973801077ec824c0814 Mon Sep 17 00:00:00 2001 From: Esteban Arango Medina Date: Sun, 14 Oct 2018 08:27:33 -0500 Subject: [PATCH 2/2] re run travis