<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: TextMate Bundle for jQuery</title>
	<link>http://www.learningjquery.com/2006/09/textmate-bundle-for-jquery</link>
	<description>Getting to know the library of choice for unobtrusive JavaScript</description>
	<pubDate>Sat, 17 May 2008 16:53:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: fpaim</title>
		<link>http://www.learningjquery.com/2006/09/textmate-bundle-for-jquery#comment-39766</link>
		<dc:creator>fpaim</dc:creator>
		<pubDate>Sat, 12 Apr 2008 23:54:57 +0000</pubDate>
		<guid>http://www.learningjquery.com/2006/09/textmate-bundle-for-jquery#comment-39766</guid>
		<description>I think the scope of the bundle should be source.js by default. I've tried the solutions here, it does not seem to work for me (except changing the scope like the second comment). 

This is a great bundle, thanks to everyone involved.</description>
		<content:encoded><![CDATA[<p>I think the scope of the bundle should be source.js by default. I&#8217;ve tried the solutions here, it does not seem to work for me (except changing the scope like the second comment). </p>
<p>This is a great bundle, thanks to everyone involved.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Buck</title>
		<link>http://www.learningjquery.com/2006/09/textmate-bundle-for-jquery#comment-34415</link>
		<dc:creator>Buck</dc:creator>
		<pubDate>Thu, 20 Mar 2008 22:31:26 +0000</pubDate>
		<guid>http://www.learningjquery.com/2006/09/textmate-bundle-for-jquery#comment-34415</guid>
		<description>Very strange-- it looks like it should work, but for some reason I can't get it to active in the HTML bundle, either. I'm pointing right to it, like the example you provided. I even went in and modified the existing javascript include and added the { include = 'source.js.jquery'; }, and it still won't activate. Ah well. 

Thanks for the bundle though! It's very handy to have so I don't have to go to docs.jquery.com for simple things any more!</description>
		<content:encoded><![CDATA[<p>Very strange&#8211; it looks like it should work, but for some reason I can&#8217;t get it to active in the HTML bundle, either. I&#8217;m pointing right to it, like the example you provided. I even went in and modified the existing javascript include and added the { include = &#8217;source.js.jquery&#8217;; }, and it still won&#8217;t activate. Ah well. </p>
<p>Thanks for the bundle though! It&#8217;s very handy to have so I don&#8217;t have to go to docs.jquery.com for simple things any more!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl</title>
		<link>http://www.learningjquery.com/2006/09/textmate-bundle-for-jquery#comment-32786</link>
		<dc:creator>Karl</dc:creator>
		<pubDate>Fri, 07 Mar 2008 01:21:54 +0000</pubDate>
		<guid>http://www.learningjquery.com/2006/09/textmate-bundle-for-jquery#comment-32786</guid>
		<description>Hi Steve,

Try this. In the Edit Bundle list, expand the HTML bundle and look for the HTML with the gray "L" next to it. Click on that and then click in the text area to the right. Select all (Command-a) and then copy (Command-c). Paste it into a new text file and save it in case something doesn't work right. Paste it into another text file and then do a Find for this line:
&lt;pre&gt;&lt;code&gt;		{	name = 'meta.tag.structure.any.html';&lt;/code&gt;&lt;/pre&gt;
Right before that line, but after the previous line, paste this:
&lt;pre&gt;&lt;code&gt;		{	name = &#x27;source.js.jquery.embedded.html&#x27;;
			begin = &#x27;(?:^\s+)?(&#60;)((?i:script))\b(?![^&#62;]*/&#62;)&#x27;;
			end = &#x27;(?&#60;=&#60;/(script&#124;SCRIPT))(&#62;)(?:\s*\n)?&#x27;;
			captures = {
				1 = { name = &#x27;punctuation.definition.tag.html&#x27;; };
				2 = { name = &#x27;entity.name.tag.script.html&#x27;; };
			};
			patterns = (
				{	name = &#x27;comment.line.double-slash.js&#x27;;
					match = &#x27;(//).*?((?=&#60;/script)&#124;$\n?)&#x27;;
					captures = { 1 = { name = &#x27;punctuation.definition.comment.js&#x27;; }; };
				},
				{	name = &#x27;comment.block.js&#x27;;
					begin = &#x27;/\*&#x27;;
					end = &#x27;\*/&#124;(?=&#60;/script)&#x27;;
					captures = { 0 = { name = &#x27;punctuation.definition.comment.js&#x27;; }; };
				},
				{	include = &#x27;#php&#x27;; },
				{	include = &#x27;source.js.jquery&#x27;; },
			);
		},&lt;/code&gt;&lt;/pre&gt;

Close the bundle editor. You might then have to go to Bundles &gt; Bundle Editor &gt; Reload Bundles.

That worked for me. Hope it works for you as well!</description>
		<content:encoded><![CDATA[<p>Hi Steve,</p>
<p>Try this. In the Edit Bundle list, expand the HTML bundle and look for the HTML with the gray &#8220;L&#8221; next to it. Click on that and then click in the text area to the right. Select all (Command-a) and then copy (Command-c). Paste it into a new text file and save it in case something doesn&#8217;t work right. Paste it into another text file and then do a Find for this line:</p>
<pre><code>		{	name = 'meta.tag.structure.any.html';</code></pre>
<p>Right before that line, but after the previous line, paste this:</p>
<pre><code>		{	name = &#x27;source.js.jquery.embedded.html&#x27;;
			begin = &#x27;(?:^\s+)?(&lt;)((?i:script))\b(?![^&gt;]*/&gt;)&#x27;;
			end = &#x27;(?&lt;=&lt;/(script|SCRIPT))(&gt;)(?:\s*\n)?&#x27;;
			captures = {
				1 = { name = &#x27;punctuation.definition.tag.html&#x27;; };
				2 = { name = &#x27;entity.name.tag.script.html&#x27;; };
			};
			patterns = (
				{	name = &#x27;comment.line.double-slash.js&#x27;;
					match = &#x27;(//).*?((?=&lt;/script)|$\n?)&#x27;;
					captures = { 1 = { name = &#x27;punctuation.definition.comment.js&#x27;; }; };
				},
				{	name = &#x27;comment.block.js&#x27;;
					begin = &#x27;/\*&#x27;;
					end = &#x27;\*/|(?=&lt;/script)&#x27;;
					captures = { 0 = { name = &#x27;punctuation.definition.comment.js&#x27;; }; };
				},
				{	include = &#x27;#php&#x27;; },
				{	include = &#x27;source.js.jquery&#x27;; },
			);
		},</code></pre>
<p>Close the bundle editor. You might then have to go to Bundles > Bundle Editor > Reload Bundles.</p>
<p>That worked for me. Hope it works for you as well!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://www.learningjquery.com/2006/09/textmate-bundle-for-jquery#comment-32756</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Thu, 06 Mar 2008 18:55:30 +0000</pubDate>
		<guid>http://www.learningjquery.com/2006/09/textmate-bundle-for-jquery#comment-32756</guid>
		<description>Hello.  Great bundle, but I also would like it to work on embedded JS code in my HTML, PHP, and ASP documents.

I saw the above post, saying to put this in:

&lt;code&gt;
{
name	= 'source.js.jquery.embedded.html';
begin = '(?:^\s+)?(]*/&#62;)';
end = '(?&#60;=)(?:\s*\n)?';
patterns = (
{ include = "source.js.jquery"; }
);
},
&lt;/code&gt;

But put it where, exactly?  In this bundle language module, or in the html language module?

And WHERE in the language module code block? 

Thanks.</description>
		<content:encoded><![CDATA[<p>Hello.  Great bundle, but I also would like it to work on embedded JS code in my HTML, PHP, and ASP documents.</p>
<p>I saw the above post, saying to put this in:</p>
<p><code><br />
{<br />
name	= 'source.js.jquery.embedded.html';<br />
begin = '(?:^\s+)?(]*/&gt;)';<br />
end = '(?&lt;=)(?:\s*\n)?';<br />
patterns = (<br />
{ include = "source.js.jquery"; }<br />
);<br />
},<br />
</code></p>
<p>But put it where, exactly?  In this bundle language module, or in the html language module?</p>
<p>And WHERE in the language module code block? </p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.learningjquery.com/2006/09/textmate-bundle-for-jquery#comment-31385</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Mon, 18 Feb 2008 03:38:57 +0000</pubDate>
		<guid>http://www.learningjquery.com/2006/09/textmate-bundle-for-jquery#comment-31385</guid>
		<description>Hello! I am trying to scope this bundle to HTML, and I'm having difficulty doing so. I put in Michael's code above the JavaScript scope code in the bundle but I get an error on line 1:2. What am I doing wrong?

Thanks very much for your hard work on the bundle. It looks great!

Regards,
Matt</description>
		<content:encoded><![CDATA[<p>Hello! I am trying to scope this bundle to HTML, and I&#8217;m having difficulty doing so. I put in Michael&#8217;s code above the JavaScript scope code in the bundle but I get an error on line 1:2. What am I doing wrong?</p>
<p>Thanks very much for your hard work on the bundle. It looks great!</p>
<p>Regards,<br />
Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kuddl</title>
		<link>http://www.learningjquery.com/2006/09/textmate-bundle-for-jquery#comment-19491</link>
		<dc:creator>Kuddl</dc:creator>
		<pubDate>Wed, 07 Nov 2007 08:27:16 +0000</pubDate>
		<guid>http://www.learningjquery.com/2006/09/textmate-bundle-for-jquery#comment-19491</guid>
		<description>Hi there,
I am highly interested in that  bundle. But I am experiencing the same problems on Win XP like my friends before me. 
Is there a update and a ZIP File on the way?
Greez
Kuddl</description>
		<content:encoded><![CDATA[<p>Hi there,<br />
I am highly interested in that  bundle. But I am experiencing the same problems on Win XP like my friends before me.<br />
Is there a update and a ZIP File on the way?<br />
Greez<br />
Kuddl</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff (gtcaz)</title>
		<link>http://www.learningjquery.com/2006/09/textmate-bundle-for-jquery#comment-11678</link>
		<dc:creator>Geoff (gtcaz)</dc:creator>
		<pubDate>Wed, 05 Sep 2007 03:19:08 +0000</pubDate>
		<guid>http://www.learningjquery.com/2006/09/textmate-bundle-for-jquery#comment-11678</guid>
		<description>I'll take a look at this bundle and see what can be done to make it compatible with the e Text Editor.  I don't know if the Bet Bundles command will work out of the box, and as other's have noted there are Mac filenames which are illegal under Windows.

For now you can use the ebundles repository (http://ebundles.googlecode.com/svn/trunk/), which has bundles which are fully ported to e, and the tmbundles4win repository which is the raw TextMate (MacroMates) repository with Windows-legal filenames but absolutely no porting done (http://tmbundles4win.googlecode.com/svn/trunk/).  This latter repo may have many commands that will not currently work OOTB with e, but at least all the filenames are legal (and you can get snippets and syntax going right away).  The jQuery bundle is here: http://tmbundles4win.googlecode.com/svn/trunk/Bundles/jQuery.tmbundle/

Most things that don't work under e are bundle commands that use Mac-only features (AppleScript being one of the most notable) and Macros (yet to be implemented).</description>
		<content:encoded><![CDATA[<p>I&#8217;ll take a look at this bundle and see what can be done to make it compatible with the e Text Editor.  I don&#8217;t know if the Bet Bundles command will work out of the box, and as other&#8217;s have noted there are Mac filenames which are illegal under Windows.</p>
<p>For now you can use the ebundles repository (http://ebundles.googlecode.com/svn/trunk/), which has bundles which are fully ported to e, and the tmbundles4win repository which is the raw TextMate (MacroMates) repository with Windows-legal filenames but absolutely no porting done (http://tmbundles4win.googlecode.com/svn/trunk/).  This latter repo may have many commands that will not currently work OOTB with e, but at least all the filenames are legal (and you can get snippets and syntax going right away).  The jQuery bundle is here: <a href="http://tmbundles4win.googlecode.com/svn/trunk/Bundles/jQuery.tmbundle/" rel="nofollow">http://tmbundles4win.googlecode.com/svn/trunk/Bundles/jQuery.tmbundle/</a></p>
<p>Most things that don&#8217;t work under e are bundle commands that use Mac-only features (AppleScript being one of the most notable) and Macros (yet to be implemented).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl</title>
		<link>http://www.learningjquery.com/2006/09/textmate-bundle-for-jquery#comment-11286</link>
		<dc:creator>Karl</dc:creator>
		<pubDate>Sun, 02 Sep 2007 15:24:45 +0000</pubDate>
		<guid>http://www.learningjquery.com/2006/09/textmate-bundle-for-jquery#comment-11286</guid>
		<description>Jonathan and I have been distracted for quite some time by the book writing, but now that we're finished with that, I'm hoping we can spend some time in the coming weeks updating the bundle. When the update is ready, I'll post a new entry here. If I forget to include a link to a zip file, please gently remind me.</description>
		<content:encoded><![CDATA[<p>Jonathan and I have been distracted for quite some time by the book writing, but now that we&#8217;re finished with that, I&#8217;m hoping we can spend some time in the coming weeks updating the bundle. When the update is ready, I&#8217;ll post a new entry here. If I forget to include a link to a zip file, please gently remind me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: demods</title>
		<link>http://www.learningjquery.com/2006/09/textmate-bundle-for-jquery#comment-11281</link>
		<dc:creator>demods</dc:creator>
		<pubDate>Sun, 02 Sep 2007 13:19:43 +0000</pubDate>
		<guid>http://www.learningjquery.com/2006/09/textmate-bundle-for-jquery#comment-11281</guid>
		<description>I use e-TextEditor on Windows XP. It uses same bundles as TextMate. I downloaded GetBundles bundle. I just extracted it in "bundles" folder (nothing to double-click?). But when I click "Install Bundle" nothing happens but just an empty drop down list. I know there are lots of bundles on macromates svn but I cannot svn them as some file names are not compatible with the windows system. GetBundles bundle don't work too.

So is there a zipped version of JQuery bundle, so we can extract zip into bundles directory?

Regards...</description>
		<content:encoded><![CDATA[<p>I use e-TextEditor on Windows XP. It uses same bundles as TextMate. I downloaded GetBundles bundle. I just extracted it in &#8220;bundles&#8221; folder (nothing to double-click?). But when I click &#8220;Install Bundle&#8221; nothing happens but just an empty drop down list. I know there are lots of bundles on macromates svn but I cannot svn them as some file names are not compatible with the windows system. GetBundles bundle don&#8217;t work too.</p>
<p>So is there a zipped version of JQuery bundle, so we can extract zip into bundles directory?</p>
<p>Regards&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Stein</title>
		<link>http://www.learningjquery.com/2006/09/textmate-bundle-for-jquery#comment-11248</link>
		<dc:creator>Dan Stein</dc:creator>
		<pubDate>Sat, 01 Sep 2007 21:22:26 +0000</pubDate>
		<guid>http://www.learningjquery.com/2006/09/textmate-bundle-for-jquery#comment-11248</guid>
		<description>I am having no luck with this. I downloaded the get bundle and there is nothing to really double click on it is a zip file uncompressed there are folders and I can double click on which puts them in Dan Stein's Bundles but they don't do anything from there. I select one like install but I get no error and no list

So not sure where to go from here. I can see the bundle on the textmate site but not sure what I would do with it  from there.

Help!</description>
		<content:encoded><![CDATA[<p>I am having no luck with this. I downloaded the get bundle and there is nothing to really double click on it is a zip file uncompressed there are folders and I can double click on which puts them in Dan Stein&#8217;s Bundles but they don&#8217;t do anything from there. I select one like install but I get no error and no list</p>
<p>So not sure where to go from here. I can see the bundle on the textmate site but not sure what I would do with it  from there.</p>
<p>Help!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
