lundi 30 mai 2016

How does Ember map function expect parameters?

I want to understand how the below code works in EmberJS?

Ember.$.map($this.get('myMap'), function(entitlements, id) {
    // What is entitlements & id here & what should be $this.get('myMap')?
})

is this conventional/standard JS syntax ? Any examples would be great ?




Aucun commentaire:

Enregistrer un commentaire