I just learn Ember.js and come across a little grasp. I have a service where I want to call another method that I defined inside the same object:
export default Ember.Service.extend({ myMethod: function() { ... }, otherMethod: function() { this.myMethod();
Is there any way to do this? I would really like to reuse the code in my code base.
Thanks.
Jason
source share