diff options
author | Jose Antonio Marquez | 2012-02-17 00:19:48 -0800 |
---|---|---|
committer | Jose Antonio Marquez | 2012-02-17 00:19:48 -0800 |
commit | 66af1dd3e5aa80b257ba711600d112752ecaf655 (patch) | |
tree | d7c0799adce17ba2ad2e956e956ef1ad11a85ceb /js/document | |
parent | e404c691b84ca8fd1ab17fc6187bccb3f94258fb (diff) | |
download | ninja-66af1dd3e5aa80b257ba711600d112752ecaf655.tar.gz |
Adding Chrome webRequest intercept
Need to add logic to resolve file's actual URL dynamically.
Diffstat (limited to 'js/document')
-rwxr-xr-x | js/document/html-document.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/js/document/html-document.js b/js/document/html-document.js index a5483f40..16595d14 100755 --- a/js/document/html-document.js +++ b/js/document/html-document.js | |||
@@ -355,13 +355,15 @@ exports.HTMLDocument = Montage.create(TextDocument, { | |||
355 | }, | 355 | }, |
356 | 356 | ||
357 | 357 | ||
358 | |||
359 | |||
360 | |||
358 | 361 | ||
359 | //////////////////////////////////////////////////////////////////// | 362 | //////////////////////////////////////////////////////////////////// |
360 | // | 363 | // |
361 | handleEvent: { | 364 | handleEvent: { |
362 | value: function(event){ | 365 | value: function(event){ |
363 | //console.log('end'); | 366 | |
364 | //console.log('file content start'); | ||
365 | //TODO: Clean up, using for prototyping save | 367 | //TODO: Clean up, using for prototyping save |
366 | this._templateDocument = {}; | 368 | this._templateDocument = {}; |
367 | this._templateDocument.head = this.iframe.contentWindow.document.getElementById("userHead");; | 369 | this._templateDocument.head = this.iframe.contentWindow.document.getElementById("userHead");; |