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