Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Latest commit

 

History

History
15 lines (11 loc) · 381 Bytes

javascript.md

File metadata and controls

15 lines (11 loc) · 381 Bytes

Javascript

If you want to add some custom Javascript code, app/assets/javascripts/custom.js is the file to do it. For example to create a new alert just add:

$(function(){
  alert('foobar');
});

If you work with Coffeescript code you can check it with coffeelint (install with npm install -g coffeelint) :

coffeelint .