jqstub

1.0.0 • Public • Published

JQStub endorse

A simple stub library for jQuery / Zepto objects.

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.

Readme

Keywords

none

Package Sidebar

Install

npm i jqstub

Weekly Downloads

3

Version

1.0.0

License

none

Last publish

Collaborators

  • fredwu