Skip to content
This repository has been archived by the owner on Jun 5, 2018. It is now read-only.

Latest commit

 

History

History
 
 

jquery

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

is.js jQuery plugin (usage)

See genaral usage guide for allowed keywords.

// Works on pretty much all DOM elements...
$('.email').is('email'); // Returns boolean value...

// And basic strings!
$.is('[email protected]', 'email'); // Returns true

Contibution

Feel free to contibute in any way you see fit. Just try to keep the coding style that I've chosen in this project and don't break the code :)

To run tests make sure you've got testem installed on your system. Simply run the following command in the terminal to start testing:

$ testem

Get in touch

Follow me on twitter @rthor or send me a line in an email.