1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

CoffeeScript 0.6.0 is on the books.

This commit is contained in:
Jeremy Ashkenas 2010-04-03 20:43:50 -04:00
parent 59ae79d8fb
commit c067808b54
20 changed files with 203 additions and 258 deletions

View file

@ -1,11 +1,12 @@
(function(){
var get_source, url;
url = "documentation/coffee/binding.coffee";
get_source = (function(func, obj, args) {
var __slice = Array.prototype.slice, __bind = function(func, obj, args) {
return function() {
return func.apply(obj, args.concat(Array.prototype.slice.call(arguments, 0)));
return func.apply(obj || {}, args ? args.concat(__slice.call(arguments, 0)) : arguments);
};
}(jQuery.get, jQuery, [url]));
};
url = "documentation/coffee/binding.coffee";
get_source = __bind(jQuery.get, jQuery, [url]);
get_source(function(response) {
return alert(response);
});