MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/angularjs/comments/44as2s/angular_15_released/czpdx1e/?context=3
r/angularjs • u/toddmotto • Feb 05 '16
36 comments sorted by
View all comments
Show parent comments
6
And if you can't upgrade to 1.5 just yet, you can refactor those Directives into Component with my 1.5 matching polyfill: https://github.com/toddmotto/angular-component
2 u/toddmotto Feb 05 '16 The 1.5 stable brought a few tweaks, I've just updated the polyfill with these. Require is now present on the Components wrapped definition Object, and restrict is 'E' as default :) 1 u/sunburned_goose Feb 05 '16 I just spent 15 minutes thinking about why CommonJS was needed for the definition object ;) 1 u/toddmotto Feb 05 '16 Haha, not that kinda require ;)
2
The 1.5 stable brought a few tweaks, I've just updated the polyfill with these. Require is now present on the Components wrapped definition Object, and restrict is 'E' as default :)
1 u/sunburned_goose Feb 05 '16 I just spent 15 minutes thinking about why CommonJS was needed for the definition object ;) 1 u/toddmotto Feb 05 '16 Haha, not that kinda require ;)
1
I just spent 15 minutes thinking about why CommonJS was needed for the definition object ;)
1 u/toddmotto Feb 05 '16 Haha, not that kinda require ;)
Haha, not that kinda require ;)
6
u/toddmotto Feb 05 '16
And if you can't upgrade to 1.5 just yet, you can refactor those Directives into Component with my 1.5 matching polyfill: https://github.com/toddmotto/angular-component