We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I create test:
it('patch tags by id', function() { var el1 = document.createElement('div'); el1.innerHTML = '<span id="boo" class="foo"></span>'; var el2 = document.createElement('div'); el2.innerHTML = '<div id="boo"></div>'; var morphedEl = morphdom(el1, el2); expect(el1.innerHTML).to.equal('<div id="boo"></div>'); });
Failed:
AssertionError: expected '<span id="boo"></span>' to equal '<div id="boo"></div>' + expected - actual -<span id="boo"></span> +<div id="boo"></div>
The text was updated successfully, but these errors were encountered:
Interesting. I'll take a look. Thanks for providing the test case.
Sorry, something went wrong.
76af7fe
New version published with fix: morphdom@1.4.41
morphdom@1.4.41
No branches or pull requests
I create test:
Failed:
The text was updated successfully, but these errors were encountered: