Skip to content
Paul Campell's jquery.defaultvalue jQuery plugin (now with tests!)
JavaScript Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
spec/javascripts
README.markdown
Rakefile
index.html
jquery.defaultvalue.js
jquery.js

README.markdown

Paul Campbell's jquery.defaultvalue.js

Home page

Notes about this fork

This is the result of a pairing session between Mark Myzk and myself (Larry Karnowski). We were just trying to see how far we could get on adding Jasmine tests to the tried & true defaultvalue plugin.

Additions

  • added a $("selector").defaultValue() camelcase alias.
  • added a test suite runnable via Jasmine-ruby gem
  • added this README

Running the tests

  1. from command line run: rake jasmine
  2. from your browser surf to: http://localhost:8888
Something went wrong with that request. Please try again.