lint compliance
This commit is contained in:
parent
5037f444e9
commit
736288a85b
@ -117,7 +117,7 @@ define([
|
|||||||
|
|
||||||
/* remove listeners from the DOM */
|
/* remove listeners from the DOM */
|
||||||
var removeListeners = function (root) {
|
var removeListeners = function (root) {
|
||||||
slice(root.attributes).map(function (attr, i) {
|
slice(root.attributes).map(function (attr) {
|
||||||
if (/^on/i.test(attr.name)) {
|
if (/^on/i.test(attr.name)) {
|
||||||
console.log('removing attribute', attr.name, root.attributes[attr.name]);
|
console.log('removing attribute', attr.name, root.attributes[attr.name]);
|
||||||
root.attributes.removeNamedItem(attr.name);
|
root.attributes.removeNamedItem(attr.name);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user