yapplabs / ember-strong-attrs

Declare and enforce your Ember Component's attributes and their types
MIT License
38 stars 3 forks source link

Inherited Enumberable Prop checks, variable for declared strong attrs, and Docs #1

Closed jnhuynh closed 9 years ago

jnhuynh commented 9 years ago

Added new lines for easier visual code logical segment detection.

Added function to use for ... in to check for declaredStrongAttrsKey on target. for ... in iterates over inherited enumerable properties while hasOwnProperty only checks the object's direct properties.

JSHint has no intention of support ES7 decorators for awhile so I added that to the README.

Add initial docs to README.

lukemelia commented 9 years ago

Awesome! Thanks, @jnhuynh!