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

Is it considered a bad practice to publicly expose service properties?

$
0
0

@alex_middeleer wrote:

Is it considered a bad practice to publicly expose service properties? e.g. in the router:

...
foo: Ember.inject.service(),
baz() {
   Ember.set(this, 'foo.bar', 'abc123');
}
...

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4839

Trending Articles