[IMP] website snippet: remove console.log

bzr revid: chm@openerp.com-20131004105217-glxsvy7vu41z6efy
This commit is contained in:
Christophe Matthieu
2013-10-04 12:52:17 +02:00
parent aa8ea6f2df
commit 4d8468e69d
@@ -81,7 +81,6 @@
$("body").on('DOMNodeInserted', hack_to_add_snippet_id);
},
dom_filter: function (dom, sibling) {
console.log(dom, sibling);
if (typeof dom === "string") {
var include = "[data-oe-model]";
var sdom = dom.split(',');
@@ -95,7 +94,6 @@
}
});
dom = dom.replace(/,\s*$/g, '');
console.log($(dom));
return $(dom);
} else {
return (!sibling && $(dom).is("[data-oe-model]")) || $(dom).parents("[data-oe-model]").length ? $(dom) : $("");