I thought I would test if TiddlyWiki could be upgraded from the
included jQuery 1.3.2 version up to 1.4.1.
So to test this I first downloaded a clean copy from htp://tiddlywiki.com/empty.html
Then I downloaded the minified version of jQuery 1.4.1 from
http://code.jquery.com/jquery-1.4.1.min.js
Next I simply copy & pasted over the jslibArea contents, from the
first /* that comes after the CDATA line
but make sure to not overwrite the end of the CDATA which looks
something like this: //]]>
and usually shows up right before the end of the script, such as </
script>
it should look something like this:
<script id="jslibArea" type="text/javascript">
//<![CDATA[
/*
* jQuery JavaScript Library v1.3.2
* http://jquery.com/
... etc.
//]]>
</script>
Also, don't be confused by the fact that they combined the jQuery
library and sizzle.js parts since version 1.3.2
After saving the change to 1.4.1, I tested out all of the basic
functions and they seem to work fine for me.
Can others confirm that this works for them and doesn't break
anything?
If it does not cause any major explosions, then maybe we can update
the download at htp://tiddlywiki.com/empty.html and other places to
use the jQuery 1.4.1?
Let me know what you think of this...
Tobias.
On 7 Feb., 10:43, Will Konijn <willrab...@gmail.com> wrote:
> Hey all,
>
> I thought I would test if TiddlyWiki could be upgraded from the
> included jQuery 1.3.2 version up to 1.4.1.
>
> So to test this I first downloaded a clean copy from htp://tiddlywiki.com/empty.html
>
> Then I downloaded the minified version of jQuery 1.4.1 fromhttp://code.jquery.com/jquery-1.4.1.min.js
>
> Next I simply copy & pasted over the jslibArea contents, from the
> first /* that comes after the CDATA line
> but make sure to not overwrite the end of the CDATA which looks
> something like this: //]]>
> and usually shows up right before the end of the script, such as </
> script>
>
> it should look something like this:
>
> <script id="jslibArea" type="text/javascript">
> //<![CDATA[
> /*
> * jQuery JavaScript Library v1.3.2
.live( eventType, eventData, handler )
The eventData would be great to have for my FreeStyle Plugin.
-m
At first I just wanted to see if it can easily be upgraded with a
simple copy & paste.
I also want to do it for tinkering with the new features and keeping
the door open to playing with new plugins built around 1.4.1.
And to take advantage of any bug fixes since 1.3.2, of course.
I am still figuring out how jQuery and Tiddlers work together, but I
am hoping to integrate more jQuery into my TWs in the near future.
p.s. I have been looking over tbGTD lately - excellent work there!
Looking forward to peak into some of your jquery playground results,
if you'd decide on posting them around here.
As for tbGTD, thanks for the flowers. For some unknown reason,
downloads went up these last 2-3 weeks. Looks like I may want to get
back at further improving what's already there.
When it comes to jQuery, it feels a bit that cases making use of
"native" jquery functionality are still a bit rare on the tw end...
which is not to imply that the tw core or plugins wouldn't use it but
that I have yet to come accross website-like-features built directly
on top of jquery and the tw data model ...things that read along the
lines of "how to create a lightbox from attachment tiddlers tagged
abc" or "how to define results to be computed and displayed in simple
table/diagrams (e.g. using the google-charts-api) gathered from slices
(from tiddlers tagged abc), etc.
Tobias.
I've done some testing using jQuery 1.4.1 and can confirm that all of
the basic functions work correctly.
We plan to upgrade the version of jQuery used in release 2.6 of
TiddlyWiki. We expect that jQuery 1.4.2 will be available before the
release of TW 2.6, so expect to use that.
Martin
> --
> You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
> To post to this group, send email to tiddl...@googlegroups.com.
> To unsubscribe from this group, send email to tiddlywiki+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
>
>