aboutsummaryrefslogtreecommitdiff
path: root/js/document
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-05-22 00:08:03 -0700
committerJose Antonio Marquez2012-05-22 00:08:03 -0700
commitc4435b596cd01aaec3427b6d9390bf6062d77f0c (patch)
tree93c842c07c38f030ac58de99f2746dcbd7c00fc1 /js/document
parentff57e780d17e35dfdbfa6044bc0416145851f5c9 (diff)
downloadninja-c4435b596cd01aaec3427b6d9390bf6062d77f0c.tar.gz
Minor bug fix
No longer using webgl attribute names, instead using canvas to be more consistent and allow for better term usage across canvas 2D and RDGE.
Diffstat (limited to 'js/document')
-rwxr-xr-xjs/document/views/design.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/document/views/design.js b/js/document/views/design.js
index 76a36323..b3887fdf 100755
--- a/js/document/views/design.js
+++ b/js/document/views/design.js
@@ -333,7 +333,7 @@ exports.DesignDocumentView = Montage.create(BaseDocumentView, {
333 webgldata = null; 333 webgldata = null;
334 //Checking for tags with webGL data 334 //Checking for tags with webGL data
335 if (scripttags[w].getAttribute) { 335 if (scripttags[w].getAttribute) {
336 if (scripttags[w].getAttribute('data-ninja-webgl') !== null) { 336 if (scripttags[w].getAttribute('data-ninja-canvas') !== null) {
337 //TODO: Add logic to handle more than one data tag 337 //TODO: Add logic to handle more than one data tag
338 webgldata = JSON.parse((scripttags[w].innerHTML.replace("(", "")).replace(")", "")); 338 webgldata = JSON.parse((scripttags[w].innerHTML.replace("(", "")).replace(")", ""));
339 } else if (scripttags[w].getAttribute('data-ninja-canvas-json') !== null) { 339 } else if (scripttags[w].getAttribute('data-ninja-canvas-json') !== null) {