mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
Fix annoying jshint :)
This commit is contained in:
parent
ba5f2d23a1
commit
b758427572
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue