UNPKG

data-provider-temporary

Version:

Library that helps with server-to-client synchronization of data

11 lines (9 loc) 383 B
var DomUtils = require("../.."); exports.name = "Get inner HTML"; exports.getElements = function(dom){ return ' <script>text</script> <!-- comment --> <tag2> text </tag2>'; }; exports.getByFunction = function(dom){ return DomUtils.getInnerHTML(DomUtils.getElementById("asdf", dom, true)); }; exports.expected = ' <script>text</script> <!-- comment --> <tag2> text </tag2>';