The way I understand it, we are encouraged to name Ember instances lowercase:
App.mailtruck = Em.Object.create({...});
...and classes uppercase:
App.Mailtruck = Em.Object.extend({...});
Would it be correct to say that instances of Ember.Namespace are the sole exception to this rule? Also, are there any cases besides Namespaces where this convention is strictly important?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…