Commit f7f1ca99 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_web: Make jslint a bit happier (fix syntax only)

parent 3ddede8d
......@@ -41,7 +41,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
},
error: function () {
notificationsettimeout($(this));
},
}
});
};
......@@ -61,7 +61,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
"text-shadow": "1px 1px 0 #000",
"background-color": "#59bae2",
"padding": "2px 11px 8px 11px",
"border-radius": "15px",
"border-radius": "15px"
})
.show()
.html(acknowledgement_json.text_content)
......@@ -90,7 +90,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
async: true,
complete: function () {
notificationload($(this));
},
}
});
};
......
......@@ -16,7 +16,6 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
"use strict";
(function ($) {
$.vifiballocable = function(options) {
......@@ -28,7 +27,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
slave: options.slave,
software_release: options.software_release,
software_type: options.software_type,
sla: JSON.stringify(options.sla)},
sla: JSON.stringify(options.sla)}
}, options));
};
......
......@@ -16,7 +16,6 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
"use strict";
(function (window, $) {
var methods,
......@@ -60,7 +59,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
}
return output;
},
}
};
......@@ -113,8 +112,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
update_status(context);
}, 60000);
}
},
}
});
};
......@@ -138,8 +136,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
status_id = encodeURIComponent(Base61.encode(status_url)),
status_context = $(this).find('#' + status_id);
if (!status_context[0]) {
status_context = $(this).append('<li><a class="check_monitoring" id="'
+ status_id + '" data-url="' + encodeURIComponent(status_url) + '"></a></li>')
status_context = $(this).append('<li><a class="check_monitoring" id="' + status_id + '" data-url="' + encodeURIComponent(status_url) + '"></a></li>')
.find('#' + status_id);
(function(new_context) {
setTimeout(function () {
......@@ -154,7 +151,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
setTimeout(function () {
search_document_list(context, context.attr('data-list-url'));
}, 60000);
},
}
});
};
......@@ -177,7 +174,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
update_status(context);
});
return context;
},
}
};
$.fn.vifibmonitoring = function (method) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment