16 Jun 2012 18:18
Dojo 1.7 and RequireJS
jgonera <jgonera <at> gmail.com>
2012-06-16 16:18:32 GMT
2012-06-16 16:18:32 GMT
Hi,
I posted it also on the RequireJS Google Group, but maybe here someone will
be able to answer too. Is it possible to run Dojo 1.7.2 with RequireJS
2.0.2? I tried but got a bunch of errors:
Uncaught TypeError: Object function (){var
g=ga.call(arguments,0),e;if(f&&w(e=g[g.length-1]))e.__requireJsBuild=!0;g.push(d);return
b.apply(null,g)} has no method 'ready' ready.js:63
Uncaught TypeError: Cannot use 'in' operator to search for
'/js/vendor/dijit/templates/TreeNode.html?bust=1339860132949' in undefined
text.js:82
Uncaught TypeError: Cannot use 'in' operator to search for
'/js/vendor/dijit/templates/Dialog.html?bust=1339860132949' in undefined
text.js:82
XHR finished loading:
"http://localhost:3000/js/vendor/ace/lib/ace/css/editor.css?bust=1339860132949".
net.js:21
Uncaught TypeError: Cannot use 'in' operator to search for
'/js/vendor/dijit/templates/Menu.html?bust=1339860132949' in undefined
text.js:82
Uncaught TypeError: Object function (){var
g=ga.call(arguments,0),e;if(f&&w(e=g[g.length-1]))e.__requireJsBuild=!0;g.push(d);return
b.apply(null,g)} has no method 'ready' ready.js:63
Uncaught TypeError: Object function (){var
g=ga.call(arguments,0),e;if(f&&w(e=g[g.length-1]))e.__requireJsBuild=!0;g.push(d);return
b.apply(null,g)} has no method 'ready' ready.js:63
Is there any up-to-date template somewhere? Should I use domReady and
somehow bind it to require.ready()? I'd like to use RequireJS instead of
(Continue reading)
RSS Feed