muu

DEPRECATED lightweight JS framework
git clone https://git.ce9e.org/muu.git

commit
e8946866415d4c121335e3e7e7c2fb46974a2a3e
parent
4eab0b6d57aa4f08a60fa2fc7d61275c7150c6ed
Author
Tobias Bengfort <tobias.bengfort@gmx.net>
Date
2015-08-22 21:26
preserve ie8.js attribute

Diffstat

M src/muu-update-dom.js 3 ++-

1 files changed, 2 insertions, 1 deletions


diff --git a/src/muu-update-dom.js b/src/muu-update-dom.js

@@ -33,7 +33,8 @@ define(['muu-js-helpers'], function(_) {
   33    33         });
   34    34 
   35    35         _.forEach(targetAttrNames, function(name) {
   36    -1             if (!source.hasAttribute(name)) {
   -1    36             // NOTE: ie8.js creates some attribute
   -1    37             if (!source.hasAttribute(name) && name.substr(0, 7) !== '__IE8__') {
   37    38                 target.removeAttribute(name);
   38    39             }
   39    40         });