Upgrade JSHint. Fixes linting issues.

This commit is contained in:
Robin Ward 2013-12-30 12:42:05 -05:00
parent 3a459f3634
commit 7e984e369a
6 changed files with 59322 additions and 2843 deletions

View File

@ -1,5 +1,3 @@
/*global Modernizr:true*/
/*global assetPath:true*/
/*global Favcount:true*/ /*global Favcount:true*/
/** /**
@ -8,7 +6,7 @@
@class Discourse @class Discourse
@extends Ember.Application @extends Ember.Application
**/ **/
Discourse = Ember.Application.createWithMixins(Discourse.Ajax, { window.Discourse = Ember.Application.createWithMixins(Discourse.Ajax, {
rootElement: '#main', rootElement: '#main',
// Helps with integration tests // Helps with integration tests

View File

@ -1,5 +1,3 @@
/*jshint onecase:true */
Discourse.Formatter = (function(){ Discourse.Formatter = (function(){
var updateRelativeAge, autoUpdatingRelativeAge, relativeAge, relativeAgeTiny, var updateRelativeAge, autoUpdatingRelativeAge, relativeAge, relativeAgeTiny,

View File

@ -1,4 +1,4 @@
/*global Markdown:true assetPath:true */ /*global assetPath:true */
/** /**
This view handles rendering of the composer This view handles rendering of the composer

View File

@ -1,4 +1,4 @@
/*global Markdown:true assetPath:true */ /*global assetPath:true */
/** /**
A control to support using PageDown as an Ember view. A control to support using PageDown as an Ember view.

View File

@ -5,7 +5,7 @@
@class PreloadStore @class PreloadStore
**/ **/
PreloadStore = { window.PreloadStore = {
data: {}, data: {},
/** /**

File diff suppressed because it is too large Load Diff