mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 10:41:45 +08:00
Upgrade JSHint. Fixes linting issues.
This commit is contained in:
parent
3a459f3634
commit
7e984e369a
|
@ -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
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
/*jshint onecase:true */
|
|
||||||
|
|
||||||
Discourse.Formatter = (function(){
|
Discourse.Formatter = (function(){
|
||||||
|
|
||||||
var updateRelativeAge, autoUpdatingRelativeAge, relativeAge, relativeAgeTiny,
|
var updateRelativeAge, autoUpdatingRelativeAge, relativeAge, relativeAgeTiny,
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
@class PreloadStore
|
@class PreloadStore
|
||||||
**/
|
**/
|
||||||
PreloadStore = {
|
window.PreloadStore = {
|
||||||
data: {},
|
data: {},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
62153
vendor/assets/javascripts/jshint.js
vendored
62153
vendor/assets/javascripts/jshint.js
vendored
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user