yyfearth/madtalk — Issue #19: iced coffee-script compiler does not support "use strict"
Author: yyfearth
Created: 2012-02-23 09:32:09+00:00
State: open

the "use strict" we put in the front of coffee file will be compiled after variable declaration by iced-coffee-script, so extra-coffee-script will do the same. but original version coffee-script seems fixed that.

(function() {
var AudioNotifier;
'use strict';

according to https://developer.mozilla.org/en/JavaScript/Strict_mode

> To invoke strict mode for an entire script, put the exact statement "use strict"; (or 'use strict';) before any other statements.

so we can just remove that, and actually coffee-script will mandatory validate your code to ensure strict mode.
or we need to wait the compiler update to support add "use strict" to the right space unless we just use original version of coffeescript.