The benefit of the Rails asset pipeline is that it compiles your stylesheets and javascripts to a single file, respectively...
The Rails asset pipeline improves delivery of application assets (javascripts, stylesheets, images, fonts). Here are some basic facts about its...
Clamps (ie. cuts off) an HTML element's content by adding ellipsis to it if the content inside is too...
...which implements the technique in this card with tests and all caveats fixed. Related topic: JavaScript: Working with Query Parameters Javascript: Read params from url...
BubbleTree is a library for interactive visualization of hierarchical data. Originally developed mainly for spending data, the library is now...
Raphaël is a small JavaScript library that should simplify your work with vector graphics on the web. If you want...
MetricsGraphics.js is a library built on top of D3 that is optimized for visualizing and laying out time-series data...
Javascript library for drag'n'drop that seems to have more options than native HTML5 drag'n'drop.
To bind an HTML value to ng-bind-html, you need to mark it as "trusted" first. Among other ways...
When you need to check a value for presence, don't rely on JavaScript since it considers 0 or "0...
In a JavaScript console, type this: > 9112347935156469760 9112347935156470000 Ooops. And that's not a float! This occurs because JavaScript uses...
Browsers make this very hard. Even when you explicitely set the selection inside the textarea (e. g. using jquery-fieldselection...
The asset pipeline changes the paths of CSS files during precompilation. This opens a world of pain when CSS files...
JavaScript's NaN ("Not a Number") is hard to compare against. It never equals anything, not even itself:
Simply use one(...) instead of on(...). It takes the same arguments.
JavaScript structures that include circular references can't be serialized with a"plain" JSON.stringify. Example: a = { name: 'Groucho' };
Create beautiful Javascript charts with one line of Ruby. Promising chart library for easily rendering charts with Google Charts.
Great introduction to React.js and the ideas behind it.
Capybara will fail to find tags that are missing an href attribute. This will probably happen to you every now...
PDFKit converts a web page to a PDF document. It uses a Webkit engine under the hood...
If you want to move an element inside an array, neither JavaScript/ES6+ nor libraries like LoDash offet that natively.
When using jQueryUI's Sortable plugin (either directly or via Angular's ui.sortable), you might struggle testing your nice drag...
Nearly all jQuery traversal functions ignore elements that are not HTML tags. To work with other type of nodes (like...
Restmod creates objects that you can use from within Angular to interact with your RESTful API.