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:
parent
ef11284817
commit
b4e92f7273
|
@ -7,7 +7,6 @@
|
|||
|
||||
"globals": {
|
||||
"horizon": false,
|
||||
"STATIC_URL": false,
|
||||
"jQuery": false,
|
||||
"$": false,
|
||||
|
||||
|
@ -27,7 +26,6 @@
|
|||
"jasmine": false,
|
||||
|
||||
"d3": false,
|
||||
"Hogan": false,
|
||||
"test": false,
|
||||
"equal": false,
|
||||
"ok": false,
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/* global Hogan */
|
||||
/* Namespace for core functionality related to Network Topology. */
|
||||
|
||||
horizon.network_topology = {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/* global STATIC_URL */
|
||||
/* Namespace for core functionality related to DataTables. */
|
||||
horizon.datatables = {
|
||||
update: function () {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/* global Hogan */
|
||||
/* Namespace for core functionality related to client-side templating. */
|
||||
horizon.templates = {
|
||||
template_ids: ["#modal_template", "#empty_row_template", "#alert_message_template", "#spinner-modal", "#membership_template"],
|
||||
|
|
Loading…
Reference in New Issue