paglias / KnockoutApp

A framework for KnockoutJS
http://paglias.net/KnockoutApp
MIT License
21 stars 2 forks source link

jQuery as an optional dependency when loading AMD/CommonJS module #9

Open paglias opened 11 years ago

paglias commented 11 years ago

When loading KnockoutApp as an AMD or CommonJS module if jQuery isn't defined it throw an error while it should be possible not to load jQuery since it's necessary only when using KnockoutApp.Sync.

It seems that it's not possible to set a dependency as optional...