bitovi/canjs — pull request #189 by saadtazi (2012-12-03 03:41:30+00:00)
Title: added all plugins to amd (except observe/sort that causes steal crash)

Hi,
I added a couple of extensions and plugins to the amd build.
Note that for now, can/observe/sort is commented out because the build is broken:

$ ./js can/build/build.js can-edge amd
....
> can/observe/backup/backup.js
> can/build/make/all.js
--> can-edgeamd//can.jquery-all.min.js
Creating AMD modules for can/build/make/amd.js in can-edgeamd//amd
Ignoring steal/dev/dev.js
Ignoring stealconfig.js
Ignoring can/build/make/amd.js
Ignoring can/util/util.js
Ignoring jquery/jquery.js
Ignoring mootools/mootools.js
Ignoring dojo/dojo.js
Ignoring yui/yui.js
Ignoring zepto/zepto.js
Saving to can-edgeamd//amd/can.js
Saving to can-edgeamd//amd/can/construct/proxy.js
Saving to can-edgeamd//amd/can/construct/super.js
Saving to can-edgeamd//amd/can/control.js
Saving to can-edgeamd//amd/can/control/modifier.js
Saving to can-edgeamd//amd/can/control/modifier/key.js
Saving to can-edgeamd//amd/can/control/plugin.js
Saving to can-edgeamd//amd/can/route.js
Saving to can-edgeamd//amd/can/control/view.js
Saving to can-edgeamd//amd/can/view/modifiers.js
Saving to can-edgeamd//amd/can/model.js
Saving to can-edgeamd//amd/can/model/cached.js
Saving to can-edgeamd//amd/can/model/list.js
Saving to can-edgeamd//amd/can/model/list/cookie.js
Saving to can-edgeamd//amd/can/model/list/local.js
Saving to can-edgeamd//amd/can/model/local.js
Saving to can-edgeamd//amd/can/model/pages.js
Saving to can-edgeamd//amd/can/model/service.js
Saving to can-edgeamd//amd/can/model/store.js
Saving to can-edgeamd//amd/can/view/ejs.js
Saving to can-edgeamd//amd/can/view/mustache.js
Saving to can-edgeamd//amd/can/observe/elements.js
Saving to can-edgeamd//amd/can/observe/attributes.js
Saving to can-edgeamd//amd/can/observe/delegate.js
Saving to can-edgeamd//amd/can/observe/setter.js
Saving to can-edgeamd//amd/can/route/pushstate.js
Saving to can-edgeamd//amd/can/observe/list.js
YOU SHOULD NOT BE HERE
!!!!!!!!!!! ERROR !!!!!!!!!!!

-message = Cannot find function comment in object [object Object].
-fileName =
-name = TypeError
-lineNumber = 0

I didn't get a chance to investigate this issue. Any idea why?

Note that my commit doesn't break the build. An issue can be created to solve the build problem when can/observe/sort is added.