reqwest('path/to/html', function (resp) {
qwery('#content').html(resp)
})
reqwest({
url: 'path/to/html'
, method: 'post'
, data: { foo: 'bar', baz: 100 }
, success: function (resp) {
qwery('#content').html(resp)
}
})
https://github.com/ded/Reqwest
https://github.com/szimek/signature_pad
Cookies.get('name'); // => 'value'
Cookies.set('name', 'value', { path: '' });
Cookies.remove('name', { path: '' }); // removed!
https://github.com/js-cookie/js-cookie
// define short of 'a'
key('a', function(){ alert('you pressed a!') });
// returning false stops the event and prevents default browser events
key('ctrl+r', function(){ alert('stopped reload!'); return false });
// multiple shortcuts that do the same thing
key('?+r, ctrl+r', function(){ });
https://github.com/madrobby/keymaster
https://github.com/imgix/drift