Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible with coffeescript 1.9.0 #175

Closed
wants to merge 1 commit into from

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