Tweak JSLint options

(imported from commit 7e7582a48228b879ea29c2a27eb22e46e093f9dc)
This commit is contained in:
Keegan McAllister
2012-10-03 18:06:05 -04:00
parent 1cbceeec87
commit 2f749afc8d
8 changed files with 15 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
/*jslint browser: true, devel: true, sloppy: true,
plusplus: true, white: true, undef: true */
plusplus: true, white: true */
/*global $: false */
function autofocus(selector) {

View File

@@ -1,6 +1,6 @@
/*jslint browser: true, devel: true, sloppy: true,
plusplus: true, white: true, undef: true */
/*global $: false */
plusplus: true, white: true */
/*global $: false, report_error: false, class_list: false */
var status_classes = 'alert-error alert-success alert-info';

View File

@@ -1,5 +1,5 @@
/*jslint browser: true, devel: true, sloppy: true,
plusplus: true, white: true, undef: true */
plusplus: true, white: true */
/*global $: false */
/* WARNING:

View File

@@ -1,6 +1,6 @@
/*jslint browser: true, devel: true, sloppy: true,
plusplus: true, white: true, undef: true */
/*global $: false */
plusplus: true, white: true */
/*global $: false, narrowed: false */
function get_next_visible(zephyr_row) {
if (zephyr_row === undefined)

View File

@@ -1,6 +1,6 @@
/*jslint browser: true, devel: true, sloppy: true,
plusplus: true, white: true, undef: true */
/*global $: false */
/*global $: false, email: false */
// Narrowing predicate, or 'false' for the home view.
var narrowed = false;

View File

@@ -1,7 +1,8 @@
/*jslint browser: true, devel: true, sloppy: true,
plusplus: true, white: true, undef: true,
regexp: true */
/*global $: false */
plusplus: true, white: true, regexp: true */
/*global $: false, jQuery: true,
Spinner: true, Handlebars: true,
have_initial_messages: true, */
// Miscellaneous early setup.
// This is the first of our Javascript files to be included.

View File

@@ -1,11 +1,8 @@
/*jslint browser: true, devel: true, sloppy: true,
plusplus: true, nomen: true, regexp: true,
white: true, undef: true */
/*global $: false, jQuery: false, Handlebars: false,
zephyr_json: false, initial_pointer: false, email: false,
plusplus: true, nomen: true, white: true, undef: true */
/*global $: false, initial_pointer: false, email: false,
class_list: false, instance_list: false, people_list: false,
have_initial_messages: false, narrowed: false,
autocomplete_needs_update: true */
narrowed: false, autocomplete_needs_update: true */
var zephyr_array = [];
var zephyr_dict = {};