I've committed a first baseline of code for jQuery module -- not to be mistaken as set in stone and "the end of the world", please.

Rather, a first baby-step in order to help Libraries API to figure out what API-consuming modules actually need. I already ran into #962290: Various implementation problems with that stupidly simple integration code.

http://drupalcode.org/viewvc/drupal/contributions/modules/jquery/jquery....

Most of the @todos need to be resolved in Libraries API, only a few of them actually apply to jQuery module.

Comments

pillarsdotnet’s picture

StatusFileSize
new2.64 KB
new6.35 KB

I did something of the same. Dunno if you can use it, but here's my diff against the latest jquery_update HEAD and also as a tarball.

sun’s picture

Thanks for posting what you have -- however, the code seems to follow jquery_update/_ui's old D6 way of registering/detecting/loading libraries, but that will work entirely differently with jQuery + Libraries modules in D7. :)

Due to my other project obligations, I'd love to team up with some more people to get this done.

sun’s picture

Status: Active » Needs work
StatusFileSize
new2.66 KB

Merely posting what I currently have locally. Note that this closely tied to #958162: Allow groups of callbacks to be applied to libraries

klonos’s picture

Thanx for the update Daniel.

sun’s picture