Opened 15 years ago
Closed 14 years ago
#3617 closed enhancement (wontfix)
Write jQuery shim file (port jQuery to Dojo)
Reported by: | Dustin Machi | Owned by: | Dustin Machi |
---|---|---|---|
Priority: | high | Milestone: | 1.3 |
Component: | Dojox | Version: | 0.9 |
Keywords: | drupal jquery shim | Cc: | alex |
Blocked By: | Blocking: |
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 (6)
comment:1 Changed 15 years ago by
Component: | General → Dojox |
---|---|
Owner: | changed from anonymous to Tom Trenka |
comment:2 Changed 15 years ago by
Owner: | changed from Tom Trenka to Dustin Machi |
---|---|
Type: | defect → enhancement |
comment:3 Changed 15 years ago by
Cc: | alex added |
---|---|
Keywords: | drupal jquery shim added |
Milestone: | → 1.1 |
Summary: | Port jquery to dojo 0.9 → Write jQuery shim file (port jQuery to Dojo) |
comment:4 Changed 14 years ago by
Milestone: | 1.1 → 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.
comment:5 Changed 14 years ago by
Milestone: | 1.2 → 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...
comment:6 Changed 14 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
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.