-
Hey!
I am working with morphdom to build a backbone.js view extension. Because all events are discarded each time and I am morphing an element which is many views combined... I have to get a bit cre…
-
this happens after a fresh npm install:
``` bash
$ npm test
> morphdom@1.3.0 test /Users/julian/dev/juliangruber/morphdom
> npm run test-browser && npm run lint
> morphdom@1.3.0 test-browser /User…
-
https://gist.github.com/anonymous/71cec266f8e04f3bf05f1fc67116c5a1
Here is a snippet of the HTML. If you could, repeat the ``s until you reach about 1.5MB.
This acts as #pick_table.
Some very small…
-
I create test:
```
it('patch tags by id', function() {
var el1 = document.createElement('div');
el1.innerHTML = '';
var el2 = document.createElement('div');
el2.innerHTML = '';
…
-
I have found that when dynamically creating a Material Menu and upgrading it before adding it to the DOM fails due to line 1114 in material.js.
forEl = document.getElementById(forElId);
Because the …
-
If an element gets rendered by a choo view, and I need to invoke a method on that element in response to an action, what is the proper way for making that call?
For example `scrollIntoView()`, `focus…
-
I noticed the following commented code:
``` javascript
// XXX optimization: if the nodes are equal, don't morph them
/*
if (fromNode.isEqualNode(toNode)) {
return fromNode;
}
…
-
Any way to detect the reorder of siblings? Perhaps optionally to avoid a performance penalty for this edge case. I have a list of videos. If video 2 is playing and video 1 is removed or reordered, vid…
-
I noticed that morphdom was updating my DOM way more than I expected, and narrowed it down to the presence of comments. Here's a simple test I added that fails (pull request with naive fix to follow)…
-
Native node has more informations that a virtual node.
What do you think about using outerHTML and cssText String for a comparison between 2 nodes first of iterate attributes and childs for know if so…