If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Allow easy import of jQuery plugins

RESOLVED WONTFIX

Status

Mozilla Labs
Jetpack Prototype
P3
enhancement
RESOLVED WONTFIX
8 years ago
8 years ago

People

(Reporter: Matěj Cepl, Unassigned)

Tracking

unspecified

Details

(Reporter)

Description

8 years ago
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
Last Resolved: 8 years ago
Resolution: --- → INVALID

Comment 2

8 years ago
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 → ---

Updated

8 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true

Updated

8 years ago
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
Last Resolved: 8 years ago8 years ago
Priority: P5 → P3
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.