Closed Bug 521420 Opened 15 years ago Closed 15 years ago

Allow easy import of jQuery plugins

Categories

(Mozilla Labs :: Jetpack Prototype, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mcepl, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20090911 Fedora/3.5.3-1.fc12 Firefox/3.5.3
Build Identifier: 

I love on jetpack idea of having jQuery inside. However, I see one of the main strengths of jQuery its many many plugins. Incoporating jQuery to be useful inside of jetpack is just hellishly complicated and ugly (I found
http://groups.google.com/group/mozilla-labs-jetpack/browse_frm/thread/eaecfe4a05df31f4/a6a00162ee32d4dd but I am not much happy with it).

Could we have some simple way how to import jQuery plugin into jetpack script? Something like

jetpack.jQuery.import("http://mcepl.fedorapeople.org/scripts/jquery.rpc.js);

and then I would be able to directly use

var server = $.rpc(your_server_url, "xml");
server.system.getCapabilities(function(data){console.log(data)});

etc.

Reproducible: Always

Steps to Reproduce:
1.see above
2.
3.
Actual Results:  
incorporating jQuery plugins into jetpack is too copmlicated

Expected Results:  
it should be easy
Jetpack is presently undergoing changes that will alleviate this concern.  Additionally, we are going to be taking a framework agnostic approach that will allow any framework, and its plug-ins/extensions, to be used in this manner.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
Daniel, INVALID means the reported bug isn't really a bug.  This is definitely valid, so it should remain open until something resolves it.
Status: RESOLVED → UNCONFIRMED
OS: Linux → All
Hardware: x86 → All
Resolution: INVALID → ---
Status: UNCONFIRMED → NEW
Ever confirmed: true
Severity: normal → enhancement
Priority: -- → P5
Target Milestone: -- → 1.0
The Cuddlefish reboot will address this issue in a more broad sense, per Nick's instructions, bug that describe enhancements under current development are to be marked in this manner.
Status: NEW → RESOLVED
Closed: 15 years ago15 years ago
Priority: P5 → P3
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.