thefrontside / ember-let

Create variable bindings inside your handlebars templates
MIT License
52 stars 16 forks source link

Not working after upgrade to Ember 2.10.0 #31

Closed jurgenwerk closed 7 years ago

jurgenwerk commented 7 years ago

Version of ember-let: 0.5.3

Ember Version / Ember CLI Version:

Ember Version: 2.10.0 Ember CLI Version: 2.10.0-beta.2

Expected Behavior

Before I updated (from Ember 2.7.0), the {{let}} helper worked OK.

Actual Behavior

After upgrade to Ember 2.10.0, {{let}} helpers are throwing this error:

Uncaught TypeError: args.evaluate is not a function(…)

Steps To Reproduce:

  1. Simply writing {{let test="test"}} throws said error in my app. I wanted to reproduce in Twiddle, but sadly it doesn't support 2.10.0.
ming-codes commented 7 years ago

I have the same issue. I'm on Ember canary.

Robdel12 commented 7 years ago

@rwjblue / @mmun will have better insight than I will :) I'm going to have to guess it's something with the AST transform that we're doing?

jurgenwerk commented 7 years ago

Thanks for fixing! <3