Given that about 85% of statistics are made up on the spot, about 95% of
javascript that has been written, was written for client-side environments
like browsers, which means they usually contain references to
non-ecma-standard objects like the global window or document object etc.
QUnit falls into
qunit is looking great but I need to port the changes. Is there a good
resource to look at to help me update my jqUnit extensions to QUnit
extensions?
--
Christopher Thatcher
--
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to th
Thanks for the feedback guys, I reviewed the Form element spec from David
Flanagan's book and realized we have a lot left to do with the
HTMLCollection elements. I should be able to narrow down that particular
test now that I know where to look once I get the rest of the Form stuff
implemented.
T
Hi all,
We've got envjs passing about 1350 tests with jquery 1.3.2 and in many cases
the tests that are failing make sense because, for example we haven't
implemented external stylesheet support, or an ajax get to a local php file
doesnt make sense. So really there are just a handful of meaningfu
ok I see that now. Maybe this is a lesson in anonymous closures I missed,
but I know that the window object is essentially the default global scope,
though the assignment is inside an anonymous closure so I expected the
'this' object to not be the global scope, which as you point out, it is. It
m
The only problem with 'caching collections' in 1.3.2 with '.live' is that
if you depend on regular expressions to attach behavior to a highly
modified-on-the-fly DOM, then '.live' doesnt permit all selectors available
through Sizzle.
More importantly, without '.live' the assignment needs to be a
I am trying to catch up to 1.3.2 as a general developer and in particular as
a contributor to john's envjs project.
In particular I've been trying to make the global window and document object
references scope-able inside closures so that a single shell can manage
multiple instancse. I'm not havi
with a couple caveats but i thought i would share in case folks are
interested.
http://jquery-claypool.appspot.com/
is running serverside javascript with envjs, jquery, and claypool in googles
appengine.
caveats:
you can't use setTimeout or async xhr as google doesn't allow apps to create
thread
sh tool
chain, the ide or hand writing against the api's, you are using something
like jquery-claypool to minimize how much work you need to do to add a new
feature, find a feature, reuse existing features, etc. most importantly,
following a couple conventions allows collaborators to efficie
There is also a jquery server-side proxy solution if you are a hard core
javascripter. I use it for development and for load testing and integration
testing. Its a great tool you can drop into a java tomcat container or I
can set you up with a commandline version pretty easy.
the gist of it is:
Jakub, I have an open source project that is supposed to provide some
railable patterns to jquery/jquery ui. The on-going idea is to provide some
very general patterns to allow ui development to become more automated.
jquery-claypool provides mvc, routing, lazy loading, dependency injection,
filte
Paul, thanks for the insight, I really didn't know this was possible with
jquery as is. I have a little project I use regularly as the basis for a
template language called https://github.com/thatcher/jquery-jspath/ which is
just a jquery-collection wrapper of steffan goessners jspath. it is very
this is an interesting analysis of the runtime performance of the various
eval-like options. in general it's not big difference between eval and
Function across browsers.
http://weblogs.asp.net/yuanjian/archive/2009/03/22/json-performance-comparison-of-eval-new-function-and-json.aspx
On Tue, May
#x27; qunit and after
loading it apply a registered callback to modify it in some way so that the
environment is harmonized. this is the correct solution in my opinion.
apologies for asking qunit to change before i fully explored envjs' ability
to adapt.
thanks
thatcher
On Sat, May 16, 20
not a big deal but envjs complains about this line in qunit because its
current parser isnt graceful with non-xml markup.
should be
--
Christopher Thatcher
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"jQuery
i think there is a reasonable possibility i am mistaken or misunderstanding
what i'm intending to do. let me try to create a canonical example, and
assuming i can't it's on my plate.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
cut and paste error after the old example, should also include the line
window.location = "test/index.html";
On Sat, May 16, 2009 at 2:07 AM, chris thatcher <
thatcher.christop...@gmail.com> wrote:
> hi john, your right that is where it should be done. the problem arises
>
to define QUnit.log as in the last email.
does this make sense? the latter approach lets the html essentially define
everything we need to know and just load and go, setting up our hooks prior
to setting window.location
thatcher
On Fri, May 15, 2009 at 4:52 PM, John Resig wrote:
> I
keeping it inside the
QUnit namespace internally.
On Tue, May 12, 2009 at 10:59 PM, chris thatcher <
thatcher.christop...@gmail.com> wrote:
> I noticed we where using an older testrunner.js with envjs even when
> running 1.3.2 unit tests. i start playing with it and realized qunit works
I noticed we where using an older testrunner.js with envjs even when running
1.3.2 unit tests. i start playing with it and realized qunit works great
and i can even use QUnit.done to output a static html file with the result
of running the tests in envjs. the only snag I had was being able to hoo
context++
On Thu, May 7, 2009 at 1:53 PM, Balazs Endresz wrote:
>
> I've just had a look at r6344 and there seems to be an extra argument
> in jQuery.event.add but that function hasn't been modified (yet?).
> And maybe it's been mentioned before but if you're really adding this
> feature why not
at functionality.
>
> http://code.google.com/p/jquery-plugin-dev/source/browse/trunk/jquery.bond.js
>
> This is also something I'd like to collaborate on as I've been slowly
> developing something similar in my spare time (small, concise, etc.).
>
> Lemme know.
>
that wasnt supposed to happen. sorry
--
Christopher Thatcher
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscrib
Announcing jQuery-Claypool (http://docs.jquery.com/Plugins/Claypool)
jquery-claypool is a small, concise, fast, railable javascript application
framework,
built as a jquery-plugin that provides all the usual important patterns for
large, long-lived client-side apps, server-side apps, or something
I have a difficult problem and I'm sorry to post such a general question to
the dev list but I dont expect to find an answer elsewhere, and I'm hoping a
javascript master may have some creative solution.
The library of congress is unifying it's search process, it's a 'heavy'
javascript solution, a
I'm trying to follow this thread but it's a little loose so apologies if I'm
missing the point.
The only thing I want to disagree with is the last point. it doesnt matter
whether the context is a class or id. The context's function is to reduce
the scope of the selectors search, and the primary
On windows I recommend 'e' which is a copy of 'textmate' which is my
recommendation for mac. I bet textmate runs on linux in general but can't
promise that.
On Fri, Mar 13, 2009 at 5:26 AM, Mark Gibson wrote:
>
> Hi Daniel, you don't say what OS you use. This can make a big
> difference, especi
I agree with justin that mvc is an important pattern. I agree with trey that
with javascript mvc is in someway built in.
The issue is both organizational and a metaprogramming problem.
Even 30+ files or 'classes' (outside of core and plugins) can make a project
difficult for new developers to con
At some point in the near future the envjs group john mentioned is going to
tackle an update to the stand alone rhino environment unit tests in the
jquery tree. We're nearing a beta release and the jquery unit tests are
currently a big part of our development process.
Thatcher
On Thu, Feb 26, 20
ready:
>
> Needs (defined/documented) conventions:
> - File names
> - Method names
> - Method structures
> - Testing
> - Documentation
> - Packaging
>
> Mike Hostetler
> http://amountaintop.com
>
>
> On Tue, Feb 24, 2009 at 14:37, chris thatcher <
I'd definitely be interested in working with someone like Justin to
define/document the conventions listed. Keeping the guess work out of
thoses area would benefit the plugin developer community for sure and help
lower the barrier of entry for new developers.
Thatcher
On Tue, Feb 24, 2009 at 4:2
Apologies for the cross post. It's a one time event to try to get the list
rolling. If you are interested in participating please join us at
http://groups.google.com/group/jquery-mentors
Thanks
Thatcher
On Mon, Feb 23, 2009 at 11:00 PM, Thatcher
wrote:
> Welcome to the jQuery Mentors list!
>
I was wondering if there was any interest I could stir up in the experienced
plugin developer community to participate in volunteering to act as mentors
for less experienced plugin developers get projects ready for release by
providing constructive criticism and feedback about what work a plugin ne
thanks!
On Tue, Feb 17, 2009 at 4:56 PM, John Resig wrote:
>
> Thanks Chris - just landed this fix.
>
> --John
>
>
>
> On Tue, Feb 17, 2009 at 4:41 PM, chris thatcher
> wrote:
> > If your unlucky enough to have to develop on a windows machine you might
>
If your unlucky enough to have to develop on a windows machine you might get
errors when running the unit tests in rhino with the UTF-8 selectors.
I resolved this in 1.2.6 and 1.3.1 by modifying the Makefile to use
JAR = java -Dfile.encoding=utf-8 -jar ${BUILD_DIR}/js.jar
Thanks!
--
Christophe
sound of one keyboard clapping
On Fri, Feb 13, 2009 at 6:00 PM, John Resig wrote:
>
> Ok, so I took some time and read through the patch more completely. It
> didn't seem like much had actually changed so I wanted to figure out
> the differences. The performance comes from two places:
>
> 1) Not
+1, nice work mike!
On Fri, Feb 13, 2009 at 4:25 PM, John Resig wrote:
>
> Very interesting patch - sorry I apparently missed it/forgot about it
> before. I'm loving the speed improvements (loaded up IE7 and I'm
> seeing 2x+ improvements across the board - along with Firefox, etc.)
>
> There are
mutli-namespace patch makes my day.
On Tue, Dec 16, 2008 at 3:40 PM, Joe [at] subprint.com <
joseph.is...@gmail.com> wrote:
>
> Nice one John...dig the new "closest()" method as well.
>
> cheers.
>
> --Joe
>
> http://www.subprint.com
>
> On Dec 16, 2:32 pm, "John Resig" wrote:
> > Hi Everyone -
If you have to do a lot of this sort of cross-domain stuff, it's still more
secure to use a server side proxy, though possibly a little slower.
On Thu, Nov 6, 2008 at 11:51 PM, Alexey <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I had a similar task - I had to retrieve an element from remote page,
> an
Nice, I've been using Steves trim12 for awhile, I guess I hadn't seen your
earlier blog. Is there are significant difference in the time for trimming
a large number of small strings versus a single large string? Just curious,
but good work.
+1
Thatcher
On Tue, Nov 4, 2008 at 11:44 AM, Ariel Fl
of a drawback.
>
> I find it really exciting however that when I look for a solution, it has
> already been made.
>
> -- Elijah
>
>
>
>
> On Sun, Nov 2, 2008 at 10:05 PM, chris thatcher <
> [EMAIL PROTECTED]> wrote:
>
>> no offense taken. Which lice
hris,
>
> I do appreciate it! I guess i was just thinking out loud as I am currently
> looking at providing the sources as BSD or MIT/GPL. I mean no harm :)
>
> --Elijah
>
>
> On Sun, Nov 2, 2008 at 8:56 PM, chris thatcher <
> [EMAIL PROTECTED]> wrote:
>
>> ok, not
side is the license. I would like to
> maintain a scheme, and locking it to GPL seems inappropriate in my
> situation. hrm..
>
> -- Elijah
>
>
> On Sat, Nov 1, 2008 at 8:35 PM, chris thatcher <
> [EMAIL PROTECTED]> wrote:
>
>> I posted a very bare bones pr
is to make "div" match both and
> elements. At the very least that would allow XML documents to become
> sort-of usable.
>
> --John
>
>
>
> On Sat, Nov 1, 2008 at 9:41 PM, chris thatcher
> <[EMAIL PROTECTED]> wrote:
> > One thing Id like to ask about Sizzl
paced attributes to build jquery extensions, for example markup-aware
templating like mjt (but built on jquery to reduce size, improve power etc).
Thanks
Thatcher
On Sat, Nov 1, 2008 at 8:37 PM, chris thatcher <
[EMAIL PROTECTED]> wrote:
> You are probably aware that FF2 fails a few b
seful foundation for plugins that are 'template-centric', eg i18n,
capitalize, title, lorem ipsum, etc. Seems useful to me and very jquery-like
thanks to jquery.collections.
Cheers
On Thu, Oct 30, 2008 at 10:10 AM, chris thatcher <
[EMAIL PROTECTED]> wrote:
> Becuase e4x has lim
You are probably aware that FF2 fails a few but thought I'd just post it
back in case others are curious:
*5. selector module: class (3, 13, 16)*
...
12. Escaped Class (.test\.foo\[5\]bar) expected: [ span#test.foo[5]bar ]
result: [ ]
...
14. Descendant scaped Class (div .test\.foo\[5\]bar)
Becuase e4x has limited support in browsers, (firefox has awesome support
for it) I had started a plugin that used jsonpath (
http://goessner.net/articles/JsonPath/) and jquery.collection (
http://flesler.blogspot.com/2008/01/jquerycollection.html) together to
provide a jquery-like way to query lar
This scriptaculus pooh pooh has also landed on my plate recently, glad to
hear you Arial is his usual step ahead it all.
Thatcher
On Tue, Oct 28, 2008 at 9:41 PM, John Resig <[EMAIL PROTECTED]> wrote:
> If make a build from trunk, that should work well now.
>>
>> Btw.. I'd like some feedback on
nt
>> Subject: [jquery-dev] Re: jQuery and guids
>>
>>
>> It's just a timestamp of when jQuery was parsed.
>>
>> I'm curious about where you need to use a guid for your plugins.
>>
>>
>> On Sep 30, 11:08 pm, "chris thatcher" &l
IL PROTECTED] On
> Behalf Of Scott González
> Sent: 01 October 2008 12:29
> To: jQuery Development
> Subject: [jquery-dev] Re: jQuery and guids
>
>
> It's just a timestamp of when jQuery was parsed.
>
> I'm curious about where you need to use a guid for your plug
One thing I didnt understand after the jquery conference was the specific
algorithm behind the unique id that helps to distinguish runtime jquery
instances when multiple are present. I know I could look at the code and I
have before, but I still wouldnt probably have a numerical measure of its
str
So I did sit up and pay attention at the conference when I learned that
events could be bound to pure javascript objects and not just the dom. I
also am attempting to replace some code I have for simple data caching with
$().data() . The question is, can I bind data to pure javascript objects
and
I'm trying to understand the cost differential of binding events to objects
versus binding events to the dom. It obviously depends on how many things
I''m binding to (eg 100 similar objects or 100 similar dom elements) in that
I can generally take advantage of delegation wiith the latter, but don'
>
> --John
>
>
>
> On Mon, Sep 22, 2008 at 9:11 PM, chris thatcher
> <[EMAIL PROTECTED]> wrote:
> > I'm trying to book a room (or sleep under a couch) relatively close to
> the
> > event but I can't find the location (still listed as TBD on
I'm trying to book a room (or sleep under a couch) relatively close to the
event but I can't find the location (still listed as TBD on the pages I can
find). Can you at least post a general area of the Boston metro?
Thanks and looking forward.
--
Christopher Thatcher
--~--~-~--~~--
So Im just getting home and able to devote an hour or two.
John, are you saying you have a solution now? My next question was going to
be 'are there are specific clues to the particular failure?', but I guess
you are saying the svn checkout was the crux. Is this old news and there
are other issu
ybe the paths aren't explicit enough? Not
> sure.
>
> --John
>
>
>
> On Fri, Sep 12, 2008 at 10:22 AM, chris thatcher
> <[EMAIL PROTECTED]> wrote:
> > If someone points me at the specific script(s) I will make a point to get
> it
> > working again within t
If someone points me at the specific script(s) I will make a point to get it
working again within the week.
Robert are these Ant scripts or bash files? Do you know where they live in
the svn tree? I don't recall seeing them before.
Thatcher
On Fri, Sep 12, 2008 at 5:58 AM, Half-Dead <[EMAIL PRO
So I'm a big dummy, no news there, but I did finally understand the
difference between event forwarding and event delegation. I'm now trying to
road map based on the dev teams plans to include delegation in core or not
in a near-future release so I can work delegation into a large collection of
pl
For consistency, I agree so +1. I don't think this would break backward
compatibility, but I'd like to hear the jquery dev teams thoughts.
Thatcher
On Tue, Sep 2, 2008 at 10:19 AM, Jimmy <[EMAIL PROTECTED]> wrote:
>
> Hi all!
>
> I am trying to show a simple "loading..." image when I do some aj
61 matches
Mail list logo