I’d like to be able to download can.map, can.list, their dependant can.construct, can.compute, and perhaps the define plugin without getting everything else CanJS related. The download customizer on the homepage includes other CanJS stuff. Checking just those 4 modules (not define) gave me a 45 KB minified JS file. I’d just like to use CanJS’s observer pattern alone before I jump into the full framework. Is this possible?
It should have given you just those files and their dependencies in an unminified and unzipped file. What else is in there? It should just be the util modules.
The util modules includes DOM stuff like util/fragment and can/util/inserted/inserted (BTW, why are some of these redundant?). Also some jQuery/zepto integration stuff. Why does it require one of those libraries?
It was minified because I’d checked the ‘minified’ checkbox. No problem there.
They look redundant because the follow the Modlet Pattern, as described here: http://blog.bitovi.com/modlet-workflows/
The util modules includes DOM stuff like util/fragment and can/util/inserted/inserted (BTW, why are some of these redundant?). Also some jQuery/zepto integration stuff. Why does it require one of those libraries?
jQuery contains some util type stuff like $.extend, that is used in can/map and the others. We’d like to drop the hard dependency on a dom library eventually.