muu

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

commit
c47852147660d5750514cfab12d15ee3d0c51fe5
parent
1dac42cc3db85cf3438c5db85f014e33307ea59a
Author
Tobias Bengfort <tobias.bengfort@gmx.net>
Date
2015-08-22 17:36
use IE8 compatible selectors

Diffstat

M src/muu.js 4 +++-

1 files changed, 3 insertions, 1 deletions


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

@@ -120,7 +120,9 @@ define(['muu-template', 'muu-directive', 'muu-js-helpers', 'muu-dom-helpers'], f
  120   120          */
  121   121         this.linkAll = function(root) {
  122   122             // NOTE: root may be a DOM Node or a directive
  123    -1             var elements = root.querySelectorAll('muu:not(.muu-initialised)');
   -1   123             var elements = _.filter(root.querySelectorAll('muu'), function(element) {
   -1   124                 return !element.classList.contains('muu-initialised');
   -1   125             });
  124   126             return _.map(elements, function(element) {
  125   127                 return self.link(element);
  126   128             });