"browser": true
},
"extends": "eslint:all",
+ "globals": {
+ "define": false
+ },
"rules": {
"array-bracket-newline": ["error", "consistent"],
"camelcase": "off",
"no-param-reassign": "off",
"no-redeclare": "off",
"no-shadow": "off",
- "no-undef": "off",
"no-underscore-dangle": "off",
"no-use-before-define": "off",
"one-var-declaration-per-line": "off",
THE SOFTWARE.
*/
+/* global $span:true, $tbody:true */
+
define(["jquery"],
function ($) {
var interface = {};
$("#modalTitle").html(item.uri);
$("#" + item.map).first().show();
$("#modalDialog .progress").hide();
- $("#modalDialog").modal(show = true, backdrop = true, keyboard = show);
+ $("#modalDialog").modal({backdrop: true, keyboard: "show", show: true});
if (item.editable === false) {
$("#modalSave").hide();
$("#modalSaveAll").hide();
THE SOFTWARE.
*/
+/* global d3:false */
+
define(["jquery", "d3evolution", "footable"],
function ($, D3Evolution) {
var rrd_pie_config = {
THE SOFTWARE.
*/
+/* global FooTable:false */
+
define(["jquery", "footable", "humanize"],
function ($, _, Humanize) {
var interface = {};
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
+
+/* global jQuery:false, Visibility:false */
+
define(["jquery", "d3pie", "visibility", "app/stats", "app/graph", "app/config",
"app/symbols", "app/history", "app/upload"],
function ($, d3pie, visibility, tab_stat, tab_graph, tab_config,
THE SOFTWARE.
*/
+/* global FooTable:false */
+
define(["jquery", "footable"],
function ($) {
var interface = {};
+/* global d3:false, require:false, requirejs:false */ // eslint-disable-line no-unused-vars
+
requirejs.config({
baseUrl: "js/lib",
paths: {
" - Rspamd Web Interface";
define("d3.global", ["d3"], function (_) {
- d3 = _;
+ d3 = _; // eslint-disable-line no-global-assign
});
// Load main UI