Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4829

Ember.subscribe not working (Syntax error)

$
0
0

@Deepak_Negi_Sunny wrote:

Dear Members

I am trying to implement Ember.subscribe

TestSubscribe: function(fileId)
{
   Ember.subscribe(fileId, function()
  {
    before: function(){
     //code
   },

  after: function(){
   //code
   },
});
}

This syntax is giving error in browser.

Please tell the correct way to do so, in Ember 2.3

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4829

Trending Articles