Skip to content

Instantly share code, notes, and snippets.

@zhangcheng
Created June 15, 2012 07:33
Show Gist options
  • Save zhangcheng/2935219 to your computer and use it in GitHub Desktop.
Save zhangcheng/2935219 to your computer and use it in GitHub Desktop.

Revisions

  1. zhangcheng created this gist Jun 15, 2012.
    13 changes: 13 additions & 0 deletions config.coffee
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    require.config
    paths:
    jquery: "/packages/jquery/jquery"
    underscore: "/packages/underscore/underscore"
    backbone: "/packages/backbone/backbone"

    shim:
    backbone:
    deps: ["underscore", "jquery"]
    exports: "Backbone"

    underscore:
    exports: "_"