topical media & game development

talk show tell print

mobile-query-three-plugins-requirejs-confrequire-webglinspector.confrequire.js / js



  requirejs.config({
          map        : {
                  // NOTE: require(['webgl-inspector', 'domReady!'], function(){})
                  // - the 'domReady!' wait for the dom to be ready, it is required by webgl-inspector
                  // TODO: is that possible to make 'domReady!' as a kind of dependancy
                  // - i tried and failed up to know
                  "*"        : {
                          'webgl-inspector'        : 'plugins/requirejs/confrequire/webglinspector.initrequire',
                           'domReady'                : 'plugins/requirejs/vendor/domReady',
                  }
          },
  });
  


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.