vitalets.github.io

Angular-xeditable is a bundle of AngularJS directives that allows you to create editable elements. Such technique is also known...

docs.angularjs.org

In addition to the {{ myValue }} two-way binding syntax, since Angular 1.3 there's a one-time binding syntax, prefixing...

api.jquery.com

Simply use one(...) instead of on(...). It takes the same arguments.

Since we are using LoDash instead of UnderscoreJS in recent/current projects, you should keep in mind that their syntax is...

github.com

bower-rails is a great solution for managing vendored assets in your Rails app. It feels especially much more convenient...

github.com

JavaScript structures that include circular references can't be serialized with a"plain" JSON.stringify. Example: a = { name: 'Groucho' };

gist.github.com

A nice bookmarklet to analyze how many watchers have been registered on the current page. Good for keeping an eye...

Creating records in specs can be so fast that two records created instantly after one another might have the same...

This may be hard to find in the docs, but if you want CoffeeScript classes that instantiate their properties from...

This is what worked for me in a Rails 4: # JSON data as first argument, then parameters patch :update, { some...

github.com

A collection of useful filters for AngularJS, e.g. for fuzzy string searching, displaying numbers as percentages an more.

ankane.github.io

Create beautiful Javascript charts with one line of Ruby. Promising chart library for easily rendering charts with Google Charts.

Capybara and most assistive technology will fail to find tags that are missing an href attribute. This will probably happen...

Let's say you have two screens: Show a given project Show a report for all projects Ideally you want...

github.com

PDFKit converts a web page to a PDF document. It uses a Webkit engine under the hood...

stackoverflow.com

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...

github.com

Restmod creates objects that you can use from within Angular to interact with your RESTful API.

Due to network or hardware failures, it can happen that one of your cronjobs will not run at the time...

When you have an Angular directive that transcludes content, you might want to do something in case there is no...

blog.arkency.com

Amazing guide how to divide a ball of Javascript spaghetti distinct separate layers (model, view, controller, backend adapter).

When you don't only have a favicon.ico in your project but also PNGs of different sizes and backgrounds, you...

When making cross-domain AJAX requests with jQuery (using CORS or xdomain or similar), you will run into issues with...