mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
Drop JSLint directives
(imported from commit 5a091b4cb23bae5c307ad19cb772b878d605fbfe)
This commit is contained in:
@@ -1,7 +1,3 @@
|
||||
/*jslint browser: true, devel: true, sloppy: true,
|
||||
plusplus: true, white: true */
|
||||
/*global $: false */
|
||||
|
||||
function autofocus(selector) {
|
||||
$(function () {
|
||||
$(selector)[0].focus();
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
/*jslint browser: true, devel: true, sloppy: true,
|
||||
plusplus: true, white: true */
|
||||
/*global $: false, report_error: false, class_list: false */
|
||||
|
||||
var status_classes = 'alert-error alert-success alert-info';
|
||||
|
||||
function show_compose(tabname, focus_area) {
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
/*jslint browser: true, devel: true, sloppy: true,
|
||||
plusplus: true, white: true */
|
||||
/*global $: false */
|
||||
|
||||
/* WARNING:
|
||||
|
||||
This file is only included when Django's DEBUG = True and your
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
/*jslint browser: true, devel: true, sloppy: true,
|
||||
plusplus: true, white: true */
|
||||
/*global $: false, narrowed: false */
|
||||
|
||||
function get_next_visible(zephyr_row) {
|
||||
if (zephyr_row === undefined)
|
||||
return [];
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
/*jslint browser: true, devel: true, sloppy: true,
|
||||
plusplus: true, white: true, undef: true*/
|
||||
/*global $: false */
|
||||
/*global
|
||||
process_goto_hotkey: false,
|
||||
process_compose_hotkey: false,
|
||||
process_key_in_input: false */
|
||||
|
||||
// We don't generally treat these as global.
|
||||
// Tell JSLint they are, to break the mutual recursion.
|
||||
|
||||
|
||||
var pressed_keys = {};
|
||||
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
/*jslint browser: true, devel: true, sloppy: true,
|
||||
plusplus: true, white: true, undef: true */
|
||||
/*global $: false, email: false */
|
||||
|
||||
// Narrowing predicate, or 'false' for the home view.
|
||||
var narrowed = false;
|
||||
|
||||
|
||||
@@ -1,9 +1,3 @@
|
||||
/*jslint browser: true, devel: true, sloppy: true,
|
||||
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.
|
||||
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
/*jslint browser: true, devel: true, sloppy: true,
|
||||
plusplus: true, nomen: true, regexp: true */
|
||||
/*global $: false, jQuery: false */
|
||||
|
||||
var disallowed_domains = ['gmail.com'];
|
||||
|
||||
function validate_email_domain(value, element, param) {
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
/*jslint browser: true, devel: true, sloppy: true,
|
||||
plusplus: true, white: true, undef: true */
|
||||
/*global $: false */
|
||||
|
||||
function fetch_subs() {
|
||||
$.ajax({
|
||||
type: 'GET',
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
/*jslint browser: true, devel: true, sloppy: true,
|
||||
plusplus: true, white: true, undef: true */
|
||||
/*global $: false */
|
||||
|
||||
function register_huddle_onclick(zephyr_row, sender) {
|
||||
zephyr_row.find(".zephyr_sender").click(function (e) {
|
||||
prepare_huddle(sender);
|
||||
|
||||
@@ -1,9 +1,3 @@
|
||||
/*jslint browser: true, devel: true, sloppy: true,
|
||||
plusplus: true, nomen: true, white: true, undef: true */
|
||||
/*global $: false, initial_pointer: false, email: false,
|
||||
class_list: false, instance_list: false, people_list: false,
|
||||
narrowed: false, autocomplete_needs_update: true */
|
||||
|
||||
var zephyr_array = [];
|
||||
var zephyr_dict = {};
|
||||
var instance_list = [];
|
||||
|
||||
Reference in New Issue
Block a user