Skip to content

Instantly share code, notes, and snippets.

@icholy
Created September 7, 2012 18:50
Show Gist options
  • Save icholy/3668541 to your computer and use it in GitHub Desktop.
Save icholy/3668541 to your computer and use it in GitHub Desktop.
Ember.js .get/.set OCD

Ember.js .get/.set OCD

I see a lot of people using the .get() and .set() methods to access ALL of their properties. It's become taboo to access something directly and this is slightly rediculous.

Example

App.set("ApplicationController", Em.Controller.extend({
  /* stuff */  
}));

.... why??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment