Skip to content

Conversation

@vilasmaciel
Copy link

With newer versións of coffescript ( > 1.8.0 ) the code

class Listener
    constructor: (@options, emit) ->
        @app = new App()
        @app.options = options

compiles to

Listener = (function() {
    function Listener(options1, emit) {
      this.options = options1;
      this.handler = __bind(this.handler, this);
      this.app = new App();
      this.app.options = options;

returning a ReferenceError: options is not defined on the line 135 this.app.options = options;

@brycekahle brycekahle changed the title Force coffescript version to 1.8.0 Incompatible with coffeescript 1.9.0 Mar 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant