1 | 'use strict';
|
2 |
|
3 | module.exports = function (el, $) {
|
4 | var selectors = [ 'class', 'id' ];
|
5 |
|
6 | selectors.forEach(function (selector) {
|
7 | var attribute = $(el).attr(selector);
|
8 |
|
9 | if (typeof attribute !== 'undefined') {
|
10 | $(el).removeAttr(selector);
|
11 | }
|
12 | });
|
13 | };
|