mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 07:23:22 +00:00
Tweak JSLint options
(imported from commit 7e7582a48228b879ea29c2a27eb22e46e093f9dc)
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*jslint browser: true, devel: true, sloppy: true,
|
/*jslint browser: true, devel: true, sloppy: true,
|
||||||
plusplus: true, white: true, undef: true */
|
plusplus: true, white: true */
|
||||||
/*global $: false */
|
/*global $: false */
|
||||||
|
|
||||||
function autofocus(selector) {
|
function autofocus(selector) {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*jslint browser: true, devel: true, sloppy: true,
|
/*jslint browser: true, devel: true, sloppy: true,
|
||||||
plusplus: true, white: true, undef: true */
|
plusplus: true, white: true */
|
||||||
/*global $: false */
|
/*global $: false, report_error: false, class_list: false */
|
||||||
|
|
||||||
var status_classes = 'alert-error alert-success alert-info';
|
var status_classes = 'alert-error alert-success alert-info';
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*jslint browser: true, devel: true, sloppy: true,
|
/*jslint browser: true, devel: true, sloppy: true,
|
||||||
plusplus: true, white: true, undef: true */
|
plusplus: true, white: true */
|
||||||
/*global $: false */
|
/*global $: false */
|
||||||
|
|
||||||
/* WARNING:
|
/* WARNING:
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*jslint browser: true, devel: true, sloppy: true,
|
/*jslint browser: true, devel: true, sloppy: true,
|
||||||
plusplus: true, white: true, undef: true */
|
plusplus: true, white: true */
|
||||||
/*global $: false */
|
/*global $: false, narrowed: false */
|
||||||
|
|
||||||
function get_next_visible(zephyr_row) {
|
function get_next_visible(zephyr_row) {
|
||||||
if (zephyr_row === undefined)
|
if (zephyr_row === undefined)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*jslint browser: true, devel: true, sloppy: true,
|
/*jslint browser: true, devel: true, sloppy: true,
|
||||||
plusplus: true, white: true, undef: true */
|
plusplus: true, white: true, undef: true*/
|
||||||
/*global $: false */
|
/*global $: false */
|
||||||
|
|
||||||
var pressed_keys = {};
|
var pressed_keys = {};
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*jslint browser: true, devel: true, sloppy: true,
|
/*jslint browser: true, devel: true, sloppy: true,
|
||||||
plusplus: true, white: true, undef: true */
|
plusplus: true, white: true, undef: true */
|
||||||
/*global $: false */
|
/*global $: false, email: false */
|
||||||
|
|
||||||
// Narrowing predicate, or 'false' for the home view.
|
// Narrowing predicate, or 'false' for the home view.
|
||||||
var narrowed = false;
|
var narrowed = false;
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
/*jslint browser: true, devel: true, sloppy: true,
|
/*jslint browser: true, devel: true, sloppy: true,
|
||||||
plusplus: true, white: true, undef: true,
|
plusplus: true, white: true, regexp: true */
|
||||||
regexp: true */
|
/*global $: false, jQuery: true,
|
||||||
/*global $: false */
|
Spinner: true, Handlebars: true,
|
||||||
|
have_initial_messages: true, */
|
||||||
|
|
||||||
// Miscellaneous early setup.
|
// Miscellaneous early setup.
|
||||||
// This is the first of our Javascript files to be included.
|
// This is the first of our Javascript files to be included.
|
||||||
|
|||||||
@@ -1,11 +1,8 @@
|
|||||||
/*jslint browser: true, devel: true, sloppy: true,
|
/*jslint browser: true, devel: true, sloppy: true,
|
||||||
plusplus: true, nomen: true, regexp: true,
|
plusplus: true, nomen: true, white: true, undef: true */
|
||||||
white: true, undef: true */
|
/*global $: false, initial_pointer: false, email: false,
|
||||||
/*global $: false, jQuery: false, Handlebars: false,
|
|
||||||
zephyr_json: false, initial_pointer: false, email: false,
|
|
||||||
class_list: false, instance_list: false, people_list: false,
|
class_list: false, instance_list: false, people_list: false,
|
||||||
have_initial_messages: false, narrowed: false,
|
narrowed: false, autocomplete_needs_update: true */
|
||||||
autocomplete_needs_update: true */
|
|
||||||
|
|
||||||
var zephyr_array = [];
|
var zephyr_array = [];
|
||||||
var zephyr_dict = {};
|
var zephyr_dict = {};
|
||||||
|
|||||||
Reference in New Issue
Block a user