Already a member? Log in

Sign up with your...

or

Sign Up with your email address

Add Tags

Duplicate Tags

Rename Tags

Share It With Others!

Save Link

Sign in

Sign Up with your email address

Sign up

By clicking the button, you agree to the Terms & Conditions.

Forgot Password?

Please enter your username below and press the send button.
A password reset link will be sent to you.

If you are unable to access the email address originally associated with your Delicious account, we recommend creating a new account.

ADVERTISEMENT
ADVERTISEMENT

Links 1 through 10 of 271 by Rob Friesel tagged javascript

Ben Nadel with a breakdown of a small but important change in how/when directive attributes are interpolated and placed on the `scope`. In a nutshell: before AngularJS 1.2, attributes were not placed on the `scope` until the post-linking phase for the interpolation -- which is _itself_ a directive, meaning that those attributes might not be available on the `scope` for the post-link functions of _other_ directives on the same element. This now takes place in the pre-linking phase, meaning that those interpolated attributes are available to all post-link functions for all directives on a given element -- which is what I think we all expected in the first place. That said: you'll still want to be watching those value changes with `$observe`.

Share It With Others!

At Smashing Magazine, Maksim Chemerisuk presents a way to manage i18n concerns in a front-end application. I'm not sure that I'd adopt a system like this, but it's certainly an interesting approach and worth looking at (even if only for comparison purposes).

Share It With Others!

Share It With Others!

Oriented toward profiling in the Chome Dev Tools, but the underlying principles hold true across browsers. Lots of detail in here.

Share It With Others!

August Lilleaas takes a look at using Java 8's Nashorn JavaScript engine to do some server-side rendering tricks with React components. (Bonus points for using Clojure, August...) While there are literally an infinite number of ways to solve some of the problems he's talking about here, Nashorn's performance is supposed to be outstanding (or at least world's better than Rhino's) and if nothing else, be builds a compelling case for following this kind of strategy if you're server-side is otherwise in the JVM.

Share It With Others!

Lorenzo Planas on using Jasmine 2.0 for headless unit tests under PhantomJS. Particularly interesting was: (1) how he slimmed down the run-jasmine.js runner and (2) how he used system.stdout.write instead of console.log.

Share It With Others!

Jake Archibald: «They're brilliant. They're brilliant and I want laws changed so I can marry them.»

Share It With Others!

By Josh Carroll, writing at Techno Fattie: a quick demonstration of how to use AngularJS decorators for extending directives (including the built-in directives).

Share It With Others!

How have I not seen this before now? The matchers are an obvious win, but even more exciting are things like HTML fixtures and event spies. Yes, yes, and yes.

Share It With Others!

Amjad Masad, writing about one of the most exciting up-coming ECMAScript features. Object.observe should simplify (and give performance boosts to) a lot of MVC-type application code.

Share It With Others!

ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT