topical media & game development

talk show tell print

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



  requirejs.config({
          map        : {
                  "*"        : {
                          'tquery.playerinput'        : 'plugins/playerinput/tquery.playerinput.keyboard',
                  }
          },
          shim        : {
                  'plugins/playerinput/tquery.playerinput.keyboard'        : [
                          'tquery.keyboard',
                          'plugins/playerinput/tquery.playerinput',
                          // not really needed, just to chain the load
                          'plugins/playerinput/tquery.playerinput.virtualjoystick',
                  ],
                  'plugins/playerinput/tquery.playerinput.virtualjoystick': [
                          'tquery.virtualjoystick',
                          'plugins/playerinput/tquery.playerinput'
                  ]
          }
  });
  


(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.