mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Fix annoying jshint :)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user