UNPKG

can

Version:

MIT-licensed, client-side, JavaScript framework that makes building rich web applications easy.

9 lines (7 loc) 277 B
steal('can/util/vdom/document', 'steal-qunit', 'can/util/fragment.js',function () { QUnit.module("can/util/vdom/document"); test("parsing <-\n>", function(){ var frag = can.buildFragment("<-\n>", can.simpleDocument); equal(frag.firstChild.nodeValue, "<-\n>"); }); });