Skip to content

esify should not mangle class properties in shorthand hashes #232

@GoodForOneFare

Description

@GoodForOneFare

(see kpi/base.coffee for a real example)

class Foo
  bar: ->
    template = _.template('...')
    template({@prop1, @prop2})

The bar method is esified to:

bar() {
    const template = _.template('lol');

    return template({
      this: this,
      this: this,
    });
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions