Commit 3fbd6e26 authored by Romain Courteaud's avatar Romain Courteaud

Drop unused code.

parent e5140d38
...@@ -81,17 +81,6 @@ ...@@ -81,17 +81,6 @@
return this.html; return this.html;
}); });
// $.parseGadgetHTML = function (data) {
// // var xml = $.parseXML(data);
// // var xml = $(data);
// // console.log(xml);
// return data;
// // return new RenderJSGadget();
// };
//
// function RenderJS() {
// }
methods = { methods = {
loadGadgetFromDom: function () { loadGadgetFromDom: function () {
$(this).find('[data-gadget-path]').each(function (index, value) { $(this).find('[data-gadget-path]').each(function (index, value) {
...@@ -386,10 +375,6 @@ ...@@ -386,10 +375,6 @@
// console.log("Declaring gadget " + url); // console.log("Declaring gadget " + url);
// // console.log(settings.context.html()); // // console.log(settings.context.html());
// return dfr.promise(); // return dfr.promise();
// };
// declareJavascript = function () {
// console.log($(this).attr('src') + " JS loaded");
// }; // };
/////////////////////////////////////////////////// ///////////////////////////////////////////////////
......
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