axonflux.com

...color model conversion algorithms that I found published on Wikipedia and have implemented in JavaScript...

coffeescript.org

The Javascript in operator does what Hash#has_key? does in Ruby: Return whether an object has a property. However, Coffeescript has its own in operator that checks for array...

...inclusion. To check whether an object has a property, use of: Javascript 'name' in {name: 'Horst'} # => true Coffeescript # wrong 'name' in {name: 'Horst'} # => false # correct 'name' of {name: 'Horst'} # => true...

benmccormick.org

...of techniques that were best practices with ES5, but have better alternatives in modern JavaScript. Best practices don’t last forever. This is especially true when a field is changing...

...fast, and JavaScript development has changed a lot over the past 10 years. The old best practices go stale, and new ones take their place. Here are 5 JavaScript best...

The attached ImageLoader helper will start fetching an image and return an image that is resolved once the image is...

You might sometimes use self to capture the context of this before it is destroyed by some function. Unfortunately self...

chartjs.org

Chart.js seems to be a good alternative to Google's Chart API and other commercial chart drawing libraries.

Set the hash to a dummy hash which doesn't hit any id at your page, for example: window.location.hash = "_";

There is no build in functionally in jQuery and Prototype to extract params from a url. You can use this...

solutoire.com

Flotr is a javascript plotting library based on the Prototype Javascript Framework (version 1.6.0.2 at the moment) and inspired by Flot (written by Ole Laursen...

zoompf.com

sing Google’s JavaScript Library CDN comes with a 1/3 of a second tax on missing. (Note that a tax like this applies to opening connections to a any new...

...host: JavaScript Library CDNs, advertisers, analytics and visitor tracking, etc. This is why you should try to reduce the number of different hostnames you serve content from...

stackoverflow.com

Because javascript has something called "Hoisting" which makes your code do things it doesn't look like it should be doing. Basically, that means a javascript interpreter will move all...

en.wikipedia.org

Cross-Origin Resource Sharing (CORS) is a browser technology specification, which defines ways for a web service to provide interfaces...

There is no way to do it. This behavior is by design. You lose.

coding.smashingmagazine.com

JavaScript engines such as Google’s V8 (Chrome, Node) are specifically designed for the fast execution of large JavaScript applications. As you develop, if you care about memory usage and...

...aware of some of what’s going on in your user’s browser’s JavaScript engine behind the scenes...

robots.thoughtbot.com

We didn’t want to leave front-end developers in the dark when their Javascript throws errors, so we’ve added a Hoptoad notifier for Javascript...

To delay your entire Jasmine test suite until the DOM is ready, add the following: beforeAll(function(done) { $(done); });

github.com

BubbleTree is a library for interactive visualization of hierarchical data. Originally developed mainly for spending data, the library is now...

makandra dev
javascript.info

To move elements around we should be familiar with coordinates. Most JavaScript methods deal with one of two coordinate systems: Relative to the window(or another viewport) top/left.

dmitrybaranovskiy.github.io

Raphaël is a small JavaScript library that should simplify your work with vector graphics on the web. If you want to create your own specific chart or image crop and...

momentjs.com

A lightweight javascript date library for parsing, manipulating, and formatting dates...

makandra dev
javascriptcompressor.com

Compresses JavaScript...

thrivingkings.com

An alert alternative for jQuery that looks good. Apprise is a very simple, fast, attractive, and unobtrusive way to communicate...

stackoverflow.com

window.getSelection().toString(); Browser support: IE9+, Android 4.3+, Safari 5+