diff options
author | Jose Antonio Marquez | 2012-06-04 15:45:36 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-06-04 15:45:36 -0700 |
commit | 098f6a08bd5b50ee82a0f26d180ff49d0c915932 (patch) | |
tree | 61a5808ad030a43253b7b32fd70f6301b5bb27a4 /js/document/mediators | |
parent | 1b8586c07951accbc3c0f3951966e4e258b0c5d9 (diff) | |
download | ninja-098f6a08bd5b50ee82a0f26d180ff49d0c915932.tar.gz |
Canvas lib fix
Fixed a bug where an extra tag would be added to the file and break I/O.
Diffstat (limited to 'js/document/mediators')
-rwxr-xr-x | js/document/mediators/template.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/document/mediators/template.js b/js/document/mediators/template.js index c3e8033b..fcb3e7b6 100755 --- a/js/document/mediators/template.js +++ b/js/document/mediators/template.js | |||
@@ -419,7 +419,7 @@ exports.TemplateDocumentMediator = Montage.create(Component, { | |||
419 | } | 419 | } |
420 | } | 420 | } |
421 | // | 421 | // |
422 | if (!webgltag && !fileCvsDir) { | 422 | if (!webgltag && !fileCvsDir && !fileOrgDataSrc) { |
423 | webgltag = template.file.content.document.createElement('script'); | 423 | webgltag = template.file.content.document.createElement('script'); |
424 | webgltag.setAttribute('data-ninja-canvas', 'true'); | 424 | webgltag.setAttribute('data-ninja-canvas', 'true'); |
425 | if (ninjaWrapper) { | 425 | if (ninjaWrapper) { |