mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 10:12:32 +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*/
|
||||
|
||||
/**
|
||||
|
@ -8,7 +6,7 @@
|
|||
@class Discourse
|
||||
@extends Ember.Application
|
||||
**/
|
||||
Discourse = Ember.Application.createWithMixins(Discourse.Ajax, {
|
||||
window.Discourse = Ember.Application.createWithMixins(Discourse.Ajax, {
|
||||
rootElement: '#main',
|
||||
|
||||
// Helps with integration tests
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
/*jshint onecase:true */
|
||||
|
||||
Discourse.Formatter = (function(){
|
||||
|
||||
var updateRelativeAge, autoUpdatingRelativeAge, relativeAge, relativeAgeTiny,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/*global Markdown:true assetPath:true */
|
||||
/*global assetPath:true */
|
||||
|
||||
/**
|
||||
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.
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
@class PreloadStore
|
||||
**/
|
||||
PreloadStore = {
|
||||
window.PreloadStore = {
|
||||
data: {},
|
||||
|
||||
/**
|
||||
|
|
63919
vendor/assets/javascripts/jshint.js
vendored
63919
vendor/assets/javascripts/jshint.js
vendored
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user