mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
CoffeeScript 0.5.6
This commit is contained in:
parent
94185e3f70
commit
590c069158
36 changed files with 744 additions and 457 deletions
12
documentation/js/binding.js
Normal file
12
documentation/js/binding.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
(function(){
|
||||
var get_source, url;
|
||||
url = "documentation/coffee/binding.coffee";
|
||||
get_source = (function(func, obj, args) {
|
||||
return function() {
|
||||
return func.apply(obj, args.concat(Array.prototype.slice.call(arguments, 0)));
|
||||
};
|
||||
}(jQuery.get, jQuery, [url]));
|
||||
get_source(function(response) {
|
||||
return alert(response);
|
||||
});
|
||||
})();
|
Loading…
Add table
Add a link
Reference in a new issue