Eric
Member since Jul 20, 2015
- Profile: /members/12751-eric.htm
- Comments: 5
Recent Blog Comments By Eric
-
Attributes Are Not Normalized In AngularJS 2 Beta 1
Posted on Jan 29, 2016 at 8:43 AM
@Eric, Sorry forgot to mention, since `data-colorMe` has no implicit binding to it, I'm betting when Angular runs through the data attributes it needs some kind of binding, although custom attributes don't. Honestly, I'd just stick with the [] brackets and make life easy ;-) But loving these exp... read more »
-
Attributes Are Not Normalized In AngularJS 2 Beta 1
Posted on Jan 29, 2016 at 8:41 AM
I think it makes sense. If you'd allow me to explain my theory: 1) [] denotes a property, this you know. Therefore, when you use it in conjunction with `data-` in `data-[colorMe]` the microdata attribute is really just `[colorMe]` when it comes to the interpreter. When you use microdata in other fr... read more »
-
On Staying Focused And Productive In The World Of Programming
Posted on Jan 18, 2016 at 9:50 AM
Some excellent points, but I can't agree with you in regards to trying to write established frameworks first and using a basic text-editor to develop. When I code, my company is paying me to get a job done. Yes, there is a ton of crap third-party libraries out there, but the creme rises to the top... read more »
-
Bane On JavaScript
Posted on Sep 1, 2015 at 9:53 AM
This is excellent. I think it's time for a new wallpaper.... read more »
-
Using Module.decorator() In AngularJS 1.4
Posted on Jul 20, 2015 at 7:52 PM
Been using decorators at work, just haven't had a use-case where I decorate my own services. Of course, now I can think of a few. I'm also curious how your code would handle returning _added_ methods. I wrote a decorator method to completely strip out HTML and leave plain-text in the `$sce` decorat... read more »