Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f1ad2e1

Browse files
committed
Revert "Fix a typo in browser.coffee."
This reverts commit 6793eb3.
1 parent c516798 commit f1ad2e1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/browser.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/browser.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ CoffeeScript.load = (url, options, callback) ->
3434
if xhr.readyState is 4
3535
error = result = null
3636
if xhr.status is 200
37-
try result = CoffeeScript.run xhr.responseText catch exception then error = exception
37+
try result = CoffeeScript.run xhr.responseText catch error then error = exception
3838
else
3939
error = new Error "An error occurred while loading the script `#{url}`."
4040
callback? error, result

0 commit comments

Comments
 (0)