Fix annoying jshint :)

This commit is contained in:
Robin Ward 2013-06-06 16:48:15 -04:00
parent ba5f2d23a1
commit b758427572

View file

@ -18,7 +18,7 @@ Discourse.ContainerView = Ember.ContainerView.extend(Discourse.Presence, {
@return {Ember.View} the view we created
**/
attachViewWithArgs: function(viewArgs, viewClass) {
if (!viewClass) { viewClass = Ember.View.extend() };
if (!viewClass) { viewClass = Ember.View.extend(); }
var view = this.createChildView(viewClass, viewArgs);
this.pushObject(view);
return view;