2
0
Fork 0
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:
Robin Ward 2015-09-15 17:08:50 -04:00
parent 24991c4016
commit 975edceff4
24 changed files with 37 additions and 40 deletions

View file

@ -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;