jquery-co
Extend jquery dom event with generator support (through co.wrap)
Last updated 4 months ago by kalmani .
ISC · Repository · Bugs · Original npm · Tarball
$ cnpm install jquery-co 
SYNC missed versions from official npm registry.

Extend jquery dom event with generator support (through co.wrap)

API

var jQuery = require('jquery');
require('jquery-co')(jQuery);


jQuery(mydom).coclick(function*(){
  yield bakeSomeCake();
});

//or

// will use "global" jquery (as peerDependency)
require('jquery-co/install');

Credits

Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 12
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |