diff options
author | Jose Antonio Marquez | 2012-02-22 13:38:09 -0800 |
---|---|---|
committer | Jose Antonio Marquez | 2012-02-22 13:38:09 -0800 |
commit | 5da4627fe899c03e885d10a77a5e33bb15875504 (patch) | |
tree | 14e764c65baf1f832e083e036b9ca3ff006d991f /js/document/html-document.js | |
parent | 74d5c26dfb61093a55218cf576096f3355b845cb (diff) | |
download | ninja-5da4627fe899c03e885d10a77a5e33bb15875504.tar.gz |
Removed css not needed in Ninja Template
Diffstat (limited to 'js/document/html-document.js')
-rwxr-xr-x | js/document/html-document.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/document/html-document.js b/js/document/html-document.js index 02e9918f..ba5eea79 100755 --- a/js/document/html-document.js +++ b/js/document/html-document.js | |||
@@ -425,6 +425,7 @@ exports.HTMLDocument = Montage.create(TextDocument, { | |||
425 | tag = this.iframe.contentWindow.document.createElement('style'); | 425 | tag = this.iframe.contentWindow.document.createElement('style'); |
426 | tag.setAttribute('ninjauri', fileUri); | 426 | tag.setAttribute('ninjauri', fileUri); |
427 | tag.setAttribute('ninjafileurl', cssUrl); | 427 | tag.setAttribute('ninjafileurl', cssUrl); |
428 | tag.setAttribute('ninjafilename', cssUrl.split('/')[cssUrl.split('/').length-1]); | ||
428 | tag.innerHTML = cssData.content; | 429 | tag.innerHTML = cssData.content; |
429 | //Looping through DOM to insert style tag at location of link element | 430 | //Looping through DOM to insert style tag at location of link element |
430 | query = this._templateDocument.html.querySelectorAll(['link']); | 431 | query = this._templateDocument.html.querySelectorAll(['link']); |