JS: Modernize jQuery attribute defs

This commit is contained in:
Asger F
2019-09-04 18:24:17 +01:00
parent a224186fab
commit c1e9eec267
6 changed files with 57 additions and 32 deletions

View File

@@ -12,6 +12,11 @@ class C {
*/
doSomethingWithTypes(e) {
e.html('foo');
e.attr('class', 'foo');
e.attr({
color: 'red',
size: '12pt',
});
}
}