mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
add compiled lib/browser.js
This commit is contained in:
@@ -104,12 +104,13 @@
|
||||
}
|
||||
};
|
||||
fn = function(script, i) {
|
||||
var options;
|
||||
var options, source;
|
||||
options = {
|
||||
literate: script.type === coffeetypes[1]
|
||||
};
|
||||
if (script.src) {
|
||||
return CoffeeScript.load(script.src, function(param) {
|
||||
source = script.src || script.getAttribute('data-src');
|
||||
if (source) {
|
||||
return CoffeeScript.load(source, function(param) {
|
||||
coffees[i] = param;
|
||||
return execute();
|
||||
}, options, true);
|
||||
|
||||
Reference in New Issue
Block a user