mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
namespacing CoffeeScript in the browser, and sniffing the 'require' function instead of the 'exports' object
This commit is contained in:
@@ -854,7 +854,7 @@ print reverse 'tpircseeffoc'</textarea>
|
||||
var source = document.getElementById('repl_source').value;
|
||||
var js = '';
|
||||
try {
|
||||
js = compile(source, {no_wrap: true});
|
||||
js = CoffeeScript.compile(source, {no_wrap: true});
|
||||
} catch(error) {
|
||||
alert(error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user