samedi 14 novembre 2015

Global function in ember.js

I want to use a global function in different controllers, components, etc.

function myFunction(param){
    ...
    return result;
}

Is a global js function the best way to do it in Ember?




Aucun commentaire:

Enregistrer un commentaire