jQuery

Posted by jeff.griffiths on 2007-07-23 11:02 |
1.2.6
JeffG
Wed, 2011-03-23 18:18
  • : 4.1 - 5.*
  • : 4.1 - 5.*

This is a Komodo extension that contains version 1.2.3 of the jQuery JavaScript library. Install this extension if you want to use jQuery syntax in your Komodo Extensions and Macros.

Note: This extension merely adds the jQuery library into Komodo's chrome, so it can be used in Komodo Macros and other extensions. It does not in any way add features for using jQuery while developing web applications, for example. Komodo 4.3.1 Already ships with a spiffy API Catalog for jQuery code that should provide excellent autocomplete support for jQuery 1.2.*.

A simple test of jQuery in Komodo would look like this:

try {
  $('#project_tab').get(0).click();
  alert(jQuery.fn.jquery);
} catch(e) { alert(e); }

Update: This extension is now updated for jQuery 1.2.6 and Komodo 5.

jeff.griffiths | Mon, 2007-07-23 11:59

This is a test for the upcoming extension hosting capability on the site. We will be allowing users to use this after a review (and after OSCON) so expect more on this sometime next week.

--
JeffG

dblrbl | Tue, 2007-08-07 17:37

Developing X(HT)ML, CSS, PHP, JScript, VBScript + more, all mixed together, by hand, was crazy... Frontpage can't handle multiple languages (beyond MS proprietary), Dreamweaver is a pain with extra markup too (and Spry? Don't need another framework, thanks) so I spent a lot of time in Notepad, but now...

Komodo Edit has been amazing! I discovered it shortly after jQuery, and the jQuery extension is a lifesaver, I swear I code twice as fast now, thanks to the Komodo package. Anyway, the forums seem to be quiet around here, so I wanted to say thanks, keep up the good work!

Charles
Creative Director, Double Rebel
doublerebel.com

eitanpo | Sun, 2007-10-14 10:11

Any chance for supporting jQuery 1.2.1?

newwebguy | Wed, 2007-12-12 03:01

It would be nice if this could be updated. Also added support for jQuery UI would be nice as well

??
zimbatm | Tue, 2007-12-25 06:20

What does this extension exactly do ? I have looked into the XPI and it only seems to load the jQuery library into the XUL. I couldn't go further because the installed extension completely broke the IDE (Komodo-IDE 4.2 trial).

baikis (not verified) | Sun, 2008-03-09 00:43

how to make these extensions? I want mootools library loaded :] !!

jeff.griffiths | Sun, 2008-03-09 13:51

You just need to create a simple Komodo extension that bundles and loads the mootools files:

1. File => New => Project from template
2. choose the Komodo Project template, a name for the project file, and a directory for the extension to live in
3. fill in the dialog that comes up with the relevant info

Once the extension project is created, you'll need to edit content/overlay.xul. The one for jquery looks like this:

<?xml version="1.0"?>
<!DOCTYPE overlay PUBLIC "-//MOZILLA//DTD XUL V1.0//EN" "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>

&lt;overlay id="jqueryOverlay"
         xmlns:html="http://www.w3.org/1999/xhtml"
         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"&gt;

&lt;script type="application/x-javascript" src="chrome://jquery/content/jquery-1.1.4.pack.js"&gt;&lt;/script&gt;
   
&lt;/overlay&gt;

--
JeffG

THX
baikis (not verified) | Mon, 2008-03-10 03:43

cool ;] ! I like komodo more and more. I think i will migrate from ZendStudio completely in the near future..

jeff.griffiths | Sun, 2008-03-30 19:07

Updated to the latest version of jQuery, and for compatibility with Komodo through version 4.4.

--
JeffG

nosherwan | Wed, 2008-05-28 18:12

Hi guys where can I get a new jQuery 1.2.6 API Catalog for Komodo Edit 4.3? :)

jeff.griffiths | Thu, 2008-05-29 08:25

Komodo 4.3 includes an api catalog fo jQuery 1.2, based on jQuery 1.2.3. As far as I know there are no API changes in the 1.2.* versions, only bug fixes?

--
JeffG

marziodev | Thu, 2011-05-19 15:21

Any chance for Komodo Edit 6 support?

toddw
ActiveState Staff
Fri, 2011-05-20 11:59

Komodo Edit already contains jQuery support - see the "Code Intelligence > Catalogs" section in your Komodo preferences.

This add-on was to load jQuery into the Komodo window/namespace in case your wanting to interact/modify Komodo itself. Is that what you wanted?

Cheers,
Todd