A simple stub library for jQuery / Zepto objects.
JavaScript CoffeeScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
node_modules/grunt-coffee
README.md
grunt.js
jqstub.coffee
jqstub.jquery.json
jqstub.js
package.json

README.md

JQStub endorse

A simple stub library for jQuery / Zepto objects.

NPM

If you use npm, you can grab the source code by:

npm install jqstub

Usage

$(document).stub('height', 1337);
$(document).stub('height', function() { return 42; } );
$(document).unstub('height');
$(document).unstubAll();

License

Copyright (c) 2012 Fred Wu

Licensed under the MIT license.

Bitdeli Badge