There are no reviews yet. Be the first to send feedback to the community and the maintainers!
This was extracted from http://letsfreckle.com. You need to be using a recent-ish version of the Prototype JavaScript framework. CreditCard.validate('1111 2222 3333 4444') -> true/false the given string is automatically stripped of whitespace, so it can be plugged directly into form validations The following things are tested: 1. does the luhn validation code add up? (see http://en.wikipedia.org/wiki/Luhn_algorithm) 2. does the number range and length seem right? (see http://en.wikipedia.org/wiki/Bank_card_number) 3. is it one of several well-known test numbers? Card identification via CreditCard.type(string) -> "Visa", "MasterCard", etc. Also, CreditCard.isVisa(string) -> true/false (works for all cards given in CARDS) Be sure to adapt the CARDS array to the credit cards you accept.
zepto
Zepto.js is a minimalist JavaScript library for modern browsers, with a jQuery-compatible APIkeymaster
A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.scriptaculous
script.aculo.us is an open-source JavaScript framework for visual effects and interface behaviours.vapor.js
The World's Smallest & Fastest JavaScript Librarydom-monster
emile
emile.js is a no-frills stand-alone CSS animation JavaScript framework, named after Γmile Cohl, early animator.scripty2
scripty2: for a more delicious webpragmatic.js
Pragmatic rules for writing JavaScripttextorize
semicolon.js
A more secure. stable and reliable version of vapor.jszaru
Filename sanitization for Rubydowntime
Standardized JSON API to indicate downtime for apps and servicesprototype_helpers
Various bits and helpers for Prototype and scriptaculous, that might prove useful or not. :)bitarray.js
Pure JavaScript bit array/bitfield implementationspark_pr
Pure Ruby sparklines.purrson-icon
creditcard_js_underscore
A port of creditcard_js to underscore.jssecure.js
jive
js-animation-course
gifs
box2d-js
Sprocketized version of box2jd-jsblink
zeptojs.com
dotvim
ponymizer
Generator of random pony names to be used as friendly and fun test datajs1k-finals
jslogocrazyness
madrobby.github.com
acornkittens
yotta
A heavily-optimized JavaScript library with a large impactplastic-clock
schnitzelconf-intro
Love Open Source and this site? Check out how you can help us