MCPcopy Index your code
hub / github.com/layerJS/layerJS / setHtmlForExport

Function setHtmlForExport

test/spec/state_spec.js:13–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11 });
12
13 function setHtmlForExport() {
14 var html =
15 "<div data-lj-type='stage' id='stage1'>" +
16 "<div data-lj-type='layer' id='layer1' data-lj-default-frame='frame1'>" +
17 "<div data-lj-type='frame' id='frame1' data-lj-name='frame1'>" +
18 "<div data-lj-type='stage' id='stage2'>" +
19 "<div data-lj-type='layer' id='layer2' data-lj-default-frame='frame2'>" +
20 "<div data-lj-type='frame' id='frame2' data-lj-name='frame2'></div>" +
21 "<div data-lj-type='frame' id='frame3' data-lj-name='frame3'></div>" +
22 "</div>" +
23 "</div>" +
24 "</div>" +
25 "<div data-lj-type='frame' id='frame4' data-lj-name='frame4'></div>" +
26 "</div>" +
27 "</div>";
28
29 utilities.setHtml(html);
30
31 layerJS.parseManager.parseDocument();
32 }
33
34 it('will be created on the document itself', function() {
35 var customDocument1 = document.implementation.createHTMLDocument("framedoc");

Callers 1

state_spec.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected