From bb83bfb7af1e82dfbce7661fe2eb7612ff730c6f Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Wed, 7 Mar 2012 18:36:31 -0800 Subject: Removing temp viewing of CDN styles It's not done correctly, we really need the proxy for this. --- js/document/html-document.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'js') diff --git a/js/document/html-document.js b/js/document/html-document.js index 1c5cec91..6e1f654b 100755 --- a/js/document/html-document.js +++ b/js/document/html-document.js @@ -637,10 +637,10 @@ exports.HTMLDocument = Montage.create(TextDocument, { for (var k in query) { if (query[k].href === this._document.styleSheets[i].href) { //Disabling style sheet to reload via inserting in style tag - var tempCSS = query[k].cloneNode(true); - tempCSS.setAttribute('data-ninja-template', 'true'); + //var tempCSS = query[k].cloneNode(true); + //tempCSS.setAttribute('data-ninja-template', 'true'); query[k].setAttribute('disabled', 'true'); - this.iframe.contentWindow.document.head.appendChild(tempCSS); + //this.iframe.contentWindow.document.head.appendChild(tempCSS); //Inserting tag this._templateDocument.head.insertBefore(tag, query[k]); } -- cgit v1.2.3