Commit 69f8884c authored by Thibaut Frain's avatar Thibaut Frain Committed by Jérome Perrin

Removed debug entries (console.log) for jsplumb related sources

parent 614256b8
/*global console, rJS, RSVP, initDocumentPageMixin */ /*global window, rJS, RSVP, initDocumentPageMixin */
(function (window, rJS, RSVP, initDocumentPageMixin) { (function (window, rJS, RSVP, initDocumentPageMixin) {
"use strict"; "use strict";
var gadget_klass = rJS(window); var gadget_klass = rJS(window);
...@@ -31,11 +31,6 @@ ...@@ -31,11 +31,6 @@
}), gadget.getDeclaredGadget("productionline") ]); }), gadget.getDeclaredGadget("productionline") ]);
}) })
.push(function (result_list) { .push(function (result_list) {
console.log(result_list);
console.log(result_list[0]);
console.log(result_list[1]);
console.log(result_list.length);
window.r = result_list[1];
return result_list[1].render(result_list[0]); return result_list[1].render(result_list[0]);
}); });
}) })
......
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* along with DREAM. If not, see <http://www.gnu.org/licenses/>. * along with DREAM. If not, see <http://www.gnu.org/licenses/>.
* ==========================================================================*/ * ==========================================================================*/
/*global RSVP, rJS, $, jsPlumb, console, confirm*/ /*global RSVP, rJS, $, jsPlumb, confirm*/
(function ($, jsPlumb, console) { (function (RSVP, rJS, $, jsPlumb, confirm) {
"use strict"; "use strict";
rJS(window) rJS(window)
...@@ -153,7 +153,6 @@ ...@@ -153,7 +153,6 @@
1.1111, 1.1111,
element = $(g.private.element).find("#" + element_id), element = $(g.private.element).find("#" + element_id),
new_value; new_value;
console.log(g.private.element);
$.each(g.private.style_attr_list, function (i, j) { $.each(g.private.style_attr_list, function (i, j) {
new_value = $(g.private.element).find('.dummy_window').css(j) new_value = $(g.private.element).find('.dummy_window').css(j)
.replace('px', '') * zoom_level + 'px'; .replace('px', '') * zoom_level + 'px';
...@@ -531,4 +530,4 @@ ...@@ -531,4 +530,4 @@
throw error; throw error;
}); });
}); });
}($, jsPlumb, console)); }(RSVP, rJS, $, jsPlumb, confirm));
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