Commit 498eb947 authored by Jérome Perrin's avatar Jérome Perrin

update static version

parent 128b15a0
/*global rJS, RSVP, initGadgetMixin, jQuery */ /*global rJS, RSVP, initGadgetMixin, jQuery */
/*jslint loopfunc: true */
/*jslint nomen: true */ /*jslint nomen: true */
(function(window, rJS, RSVP, initGadgetMixin, $) { (function(window, rJS, RSVP, initGadgetMixin, $) {
"use strict"; "use strict";
...@@ -35,7 +34,7 @@ ...@@ -35,7 +34,7 @@
} }
order_lateness[order_id].push(order); order_lateness[order_id].push(order);
}; };
for (i = 0; i < result_list.length; i++) { for (i = 0; i < result_list.length; i += 1) {
link = result_list[i][0]; link = result_list[i][0];
result = result_list[i][1]; result = result_list[i][1];
Object.keys(result.order_lateness).forEach(calculateOrderLateness); Object.keys(result.order_lateness).forEach(calculateOrderLateness);
...@@ -50,6 +49,7 @@ ...@@ -50,6 +49,7 @@
order.unshift(order_id); order.unshift(order_id);
data.push(order); data.push(order);
}); });
/*jslint unparam: true */
function orderHtmlRenderer(instance, td, row, col, prop, value, cellProperties) { function orderHtmlRenderer(instance, td, row, col, prop, value, cellProperties) {
var a, color = "yellow"; var a, color = "yellow";
if (value.delay < .5) { if (value.delay < .5) {
...@@ -82,7 +82,6 @@ ...@@ -82,7 +82,6 @@
}); });
}); });
}).declareMethod("startService", function() { }).declareMethod("startService", function() {
var gadget = this;
return this.getDeclaredGadget("tableeditor").push(function(tableeditor) { return this.getDeclaredGadget("tableeditor").push(function(tableeditor) {
return tableeditor.startService(); return tableeditor.startService();
}); });
......
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