Jshint removing Hogan and static_url
Hogan and STATIC_URL are only use in a few files. Hence, we do not really need them enabled globally. Removing them from jshint global config. Change-Id: I0881ab0e6668a47bf795e422e17f9f025a010d31 Closes-bug: #1452464
This commit is contained in:
@@ -7,7 +7,6 @@
|
|||||||
|
|
||||||
"globals": {
|
"globals": {
|
||||||
"horizon": false,
|
"horizon": false,
|
||||||
"STATIC_URL": false,
|
|
||||||
"jQuery": false,
|
"jQuery": false,
|
||||||
"$": false,
|
"$": false,
|
||||||
|
|
||||||
@@ -27,7 +26,6 @@
|
|||||||
"jasmine": false,
|
"jasmine": false,
|
||||||
|
|
||||||
"d3": false,
|
"d3": false,
|
||||||
"Hogan": false,
|
|
||||||
"test": false,
|
"test": false,
|
||||||
"equal": false,
|
"equal": false,
|
||||||
"ok": false,
|
"ok": false,
|
||||||
|
@@ -1,3 +1,4 @@
|
|||||||
|
/* global Hogan */
|
||||||
/* Namespace for core functionality related to Network Topology. */
|
/* Namespace for core functionality related to Network Topology. */
|
||||||
|
|
||||||
horizon.network_topology = {
|
horizon.network_topology = {
|
||||||
|
@@ -1,3 +1,4 @@
|
|||||||
|
/* global STATIC_URL */
|
||||||
/* Namespace for core functionality related to DataTables. */
|
/* Namespace for core functionality related to DataTables. */
|
||||||
horizon.datatables = {
|
horizon.datatables = {
|
||||||
update: function () {
|
update: function () {
|
||||||
|
@@ -1,3 +1,4 @@
|
|||||||
|
/* global Hogan */
|
||||||
/* Namespace for core functionality related to client-side templating. */
|
/* Namespace for core functionality related to client-side templating. */
|
||||||
horizon.templates = {
|
horizon.templates = {
|
||||||
template_ids: ["#modal_template", "#empty_row_template", "#alert_message_template", "#spinner-modal", "#membership_template"],
|
template_ids: ["#modal_template", "#empty_row_template", "#alert_message_template", "#spinner-modal", "#membership_template"],
|
||||||
|
Reference in New Issue
Block a user