Advertisement
Adam_Martin

Untitled

Jun 27th, 2013
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. require.config({
  2.   baseUrl: "/js/",
  3.   paths: {
  4.     "jq": "lib/jq",
  5.     "ko": "lib/ko",
  6.     "utils": "lib/utils",
  7.     "widgets": "lib/widgets",
  8.     "io": "lib/socket.io",
  9.     "underscore": "lib/utils/_"
  10.   },
  11.   shim: {
  12.     "underscore": {
  13.       exports: "_"
  14.     }
  15.   }
  16. });
  17.  
  18. require(['app'], function(App) {
  19.   App.initialize();
  20. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement