fix jshint

This commit is contained in:
Sam 2013-04-15 13:18:26 +10:00
parent 2bdb53261b
commit ea3c6d2e6f
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ Discourse.ActionSummary = Discourse.Model.extend({
this.set('can_act', false);
this.set('can_undo', true);
if(action === 'notify_moderators' || action=='notify_user') {
if(action === 'notify_moderators' || action === 'notify_user') {
this.set('can_undo',false);
this.set('can_clear_flags',false);
}

View File

@ -45,7 +45,7 @@ Spork.prefork do
load "#{Rails.root}/db/seeds.rb"
RSpec.configure do |config|
config.fail_fast = ENV['RSPEC_FAIL_FAST'] == "1"
config.include Helpers
config.mock_framework = :mocha