1
0
mirror of https://github.com/pattern-lab/patternlab-php.git synced 2025-01-18 06:38:20 +01:00

changing what's get passed to code-viewer

This commit is contained in:
Dave Olsen 2014-02-08 16:35:02 -05:00
parent df64c01444
commit e5e5931048

View File

@ -50,7 +50,7 @@ var codePattern = {
if (codePattern.codeOverlayActive) {
var targetOrigin = (window.location.protocol == "file:") ? "*" : window.location.protocol+"//"+window.location.host;
var obj = { "codeOverlay": "on", "lineage": lineage, "lineageR": lineageR, "html": document.getElementById("sg-pattern-html").textContent, "css": document.getElementById("sg-pattern-css").textContent };
var obj = { "codeOverlay": "on", "lineage": lineage, "lineageR": lineageR, "codePatternPartial": patternPartial, "cssEnabled": cssEnabled };
parent.postMessage(obj,targetOrigin);
} else if (codePattern.codeEmbeddedActive) {