...browser must load via a separate request. While this transformation minimizes the amount of JavaScript transmitted, it may also cause your initial bundle to be split into multiple files, which...
You have the following HTML structure:
If you want to run Javascript code whenever someone clicks on a ...
..., you can do this in three different ways: function code(event...
...issues and tradeoffs: Registering many handlers vs. having many unnecessary target element checks in JavaScript. Ability to stop event propagation. Ability to work with elements that are created programmatically after...
...prompt will have been closed already and can not be brought back. Also, any JavaScript code placed after the alert will be executed. Automatically closing user prompts happens when performing...
The asset pipeline is one of Rails' two mechanisms how stylesheets, javascripts and images from your /assets folder are processed and delivered to the browser. Rails has a second pipeline...
...reload your page. It will probably show an exception or have broken stylesheets or Javascript. Try to get everything working again. You will need rake assets:precompile.
Write your app using HTML, CSS or JavaScript, upload it to the PhoneGap Build service and get back app-store ready apps for Apple iOS, Google Android, Windows Phone...
Opal is a source to source ruby to javascript compiler, corelib and a runtime implementation that currently passes 3000 rubyspecs w/a reachable goal of passing them all...
Set the hash to a dummy hash which doesn't hit any id at your page, for example: window.location.hash = "_";
...the required controller actions with @model.nested_model.build. If you are adding fields dynamically by using JavaScript, then the form helper method should take care of this: new_nested_record = f.object.send(nested...
SmartUnderline is an open-source JavaScript library which uses clever tricks to draw underlines in a more beautiful and readable way. We've not yet put this into a project...
...web technology in 2015. Note that you can now trigger a copy action through Javascript, no Flash required...
Databound provides Javascript a simple API to the Ruby on Rails CRUD. Tries to expose a full model CRUD as an API. Not sure if this is useful for more...
Clever hack to allow user interaction without Javascript (by using radio buttons and selecting on :checked...
Tracekit is a JavaScript library that automatically normalizes and exposes stack traces for unhandled exceptions across the 5 major browsers: IE, Firefox, Chrome, Safari, and Opera...
Shows how to implement an animated progress bar in pure CSS, without animated GIFs, Javascript or Flash...
Makes a robust determination of a user's timezone through Javascript...
...how they made the new Basecamp feel very fast without using a lot of Javascript (most of Basecamp still lives on the server). The two tricks they used are PJAX...
A small library to provide the Rails I18n translations in Javascript clients...
...some icon names, and introduces new prefixes fab, far, and fas. There is a JavaScript shim that you can use as a "quick fix". It allows you to keep v4...
Build dashboards using ascii/ansi art and javascript
Responsive Lightbox JavaScript that just works. You can use it for single images or a gallery. Animations are optional...
Create beautiful Javascript charts with one line of Ruby. Promising chart library for easily rendering charts with Google Charts. This seems to not submit your data points to Google...
CodeMirror is a JavaScript component that provides a code editor in the browser. When a mode is available for the language you are coding in, it will color your code...
...notifications using WebKit's webkitNotifications API. This means you can create popup bubbles from Javascript...
...E.g. console.log("Current string:", string, "Current number:", 12) Your output can have hyperlinks to Javascript objects E.g. console.log("Check out the current %o, it's great", location) Displaying tabular data...