// Temporarily disabled rules
"array-callback-return": "off",
"array-element-newline": "off",
- "block-scoped-var": "off",
"brace-style": "off",
"callback-return": "off",
"consistent-return": "off",
"no-invalid-this": "off",
"no-loop-func": "off",
"no-negated-condition": "off",
- "no-param-reassign": "off",
"no-underscore-dangle": "off",
"no-use-before-define": "off",
"one-var-declaration-per-line": "off",
ui.connect();
}
- function tabClick(tab_id) {
+ function tabClick(id) {
+ var tab_id = id;
if ($(tab_id).attr("disabled")) return;
$(tab_id).attr("disabled", true);
});
});
$.each(neighbours_status, function (ind) {
- method = typeof method !== "undefined" ? method : "GET";
var req_params = {
- type: method,
+ type: typeof method !== "undefined" ? method : "GET",
jsonp: false,
data: req_data,
beforeSend: function (xhr) {
});
};
- ui.drawPie = function (obj, id, data, conf) {
+ ui.drawPie = function (object, id, data, conf) {
+ var obj = object;
if (obj) {
obj.updateProp("data.content",
data.filter(function (elt) {