Revision code
Changes
Version 0.51.0
Fragment updates
-
<script> tags that were inserted by a fragment update are no longer executed. They are still executed during the initial page load. If you need a fragment update to call JavaScript code, call it from a compiler (Google Analytics example).
- The configuration option
up.dom.config.runInlineScripts has been removed without replacement.
- The configuration option
up.dom.config.runLinkedScripts has been removed without replacement.
- Fix a bug where the contents of
<noscript> tags were parsed into DOM elements (instead of a single verbatim text node). This was confusing libraries that work with <noscript> tags, such as lazysizes.
- Work around a bug in IE11 and Edge where
<noscript> tags that were inserted by a fragment update could not be found with jQuery or document.querySelectorAll().