Ticket #3617 (closed enhancement: wontfix)

Opened 2 years ago

Last modified 12 months ago

Write jQuery shim file (port jQuery to Dojo)

Reported by: dmachi Owned by: dmachi
Priority: normal Milestone: 1.3
Component: Dojox Version: 0.9
Severity: normal Keywords: drupal jquery shim
Cc: alex

Description

basically we want to create dojox.jquery, which will, initially, include the entire jquery library. Over time we can port the internal functions over to use dojo _base functions (taking care not to break their api's. This will ultimately allow any application using jquery to use dojo and allow any of the already existing jquery plugins to just work.

Change History

Changed 2 years ago by bill

  • owner changed from anonymous to ttrenka
  • component changed from General to Dojox

Changed 2 years ago by ttrenka

  • owner changed from ttrenka to dmachi
  • type changed from defect to enhancement

Changed 20 months ago by tk

  • cc alex added
  • keywords drupal jquery shim added
  • summary changed from Port jquery to dojo 0.9 to Write jQuery shim file (port jQuery to Dojo)
  • milestone set to 1.1

Giving this a milestone and CC'ing Alex (previously mentioned doing this himself a while back)

I'd love to see this done SRTL, I've looked at the jQuery src, but never used it, so my understanding of it is extremely limited.

Moving to 1.1 Milestone.

Changed 17 months ago by dmachi

  • milestone changed from 1.1 to 1.2

I got a version of this basically working. It wasn't the extend nodelist approach, which i think would be cool, but rather the port jquery to dojo. It is basically just jquery with some of the dojo loader system involved. Portions of it could be ported over time to be based more on dojo (some portions were already changed, but not all that many). The disadvantage of this approach is that it is considerably larger than using one or the other. The advantage however is that all jquery code/plugins will work even if they haven't been "ported". I am willing ot submit this code if this is something we are going to use. However it will take some amount of maint work to keep up with the jquery releases and I don't want to commit this code to bitrot if its not something we are going to need/use/maintain. I'll leave this open for awhile and if noone comments one way or the other i'll consider it bitrotted and close the ticket. If there is sufficient interest, i'll commit the code to dojox.

Changed 13 months ago by dylan

  • milestone changed from 1.2 to 1.3

It's interesting, but I'm not sure that there's a lot of benefit other than it being cool that it can be done...

Changed 12 months ago by dmachi

  • status changed from new to closed
  • resolution set to wontfix
Note: See TracTickets for help on using tickets.