zoltan-nz / library-app

Detailed Ember.js v4.7 tutorial for absolute beginners. https://yoember.com

Home Page:http://library-app.firebaseapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

index.js : this.set('responseMessage' wrong display

opened this issue · comments

In Lesson 3 - First Ember.js Model

in actions: {
saveInvitation() {

    this.set('responseMessage', "Thank you! We\'ve just saved your email address: ${this.get('emailAddress')}");   

display ${this.get('emailAddress')} in the page as full string

  Thank you! We've just saved your email address: ${this.get('emailAddress')}  

The address is save into the db..

sorry I'm wrong .. did not noticed I have to use backquotes with ES6 string interpolation