Fix annoying jshint :)
This commit is contained in:
parent
ba5f2d23a1
commit
b758427572
|
@ -18,7 +18,7 @@ Discourse.ContainerView = Ember.ContainerView.extend(Discourse.Presence, {
|
||||||
@return {Ember.View} the view we created
|
@return {Ember.View} the view we created
|
||||||
**/
|
**/
|
||||||
attachViewWithArgs: function(viewArgs, viewClass) {
|
attachViewWithArgs: function(viewArgs, viewClass) {
|
||||||
if (!viewClass) { viewClass = Ember.View.extend() };
|
if (!viewClass) { viewClass = Ember.View.extend(); }
|
||||||
var view = this.createChildView(viewClass, viewArgs);
|
var view = this.createChildView(viewClass, viewArgs);
|
||||||
this.pushObject(view);
|
this.pushObject(view);
|
||||||
return view;
|
return view;
|
||||||
|
|
Loading…
Reference in New Issue