mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Add semi colon linting to Javascript
This commit is contained in:
parent
24991c4016
commit
975edceff4
24 changed files with 37 additions and 40 deletions
|
@ -13,7 +13,7 @@ export default Ember.Controller.extend({
|
|||
}.property('problems'),
|
||||
|
||||
thereWereProblems: function() {
|
||||
if(!Discourse.User.currentProp('admin')) { return false }
|
||||
if(!Discourse.User.currentProp('admin')) { return false; }
|
||||
if( this.get('foundProblems') ) {
|
||||
this.set('hadProblems', true);
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue