Project

da-js

0.0
Low commit activity in last 3 years
A long-lived project that still receives updates
Some jQuery extensions we tend to use in almost all our projects.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

da-js – Collection of small, useful JavaScripts

This are some JavaScripts we use in most of our projects. So packaged them into a gem.

Okay, right now it’s only one, small JavaScript. But just be patient …

Installation

da-js is meant to be used with Ruby on Rails 3.1 or newer. It's based on jQuery, so be sure you are using jquery-rails, too (jQuery version 1.7.1 or newer is required).

To install it:

  • Add the gem to your Gemfile:

      gem "da-js"
    
  • Require the library in your application.js (after requiring jQuery):

      require "da-js"
    

Documentation

For documentation please refer to the individual files in lib/assets/javascripts/da-js.

Development

Use the Rack application in features/support/testapp:

rackup features/support/testapp/config.ru

Any template file in features/support/testapp/views can be accessed by its basename:

open http:://localhost:9292/form_change_tracker

Run the tests with

rake test