Re: [jquery-dev] QUnit and browserless testing

2010-01-13 Thread chris thatcher
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

[jquery-dev] qunit changes

2009-11-18 Thread chris thatcher
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

[jquery-dev] 1.3.2 unit test related question

2009-08-20 Thread chris thatcher
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

[jquery-dev] Re: 1.3.2 unit test related question

2009-08-20 Thread chris thatcher
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.

[jquery-dev] Re: understanding var window = this in 1.3.2

2009-06-04 Thread chris thatcher
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

[jquery-dev] serverside jquery working in googles app engine

2009-05-28 Thread chris thatcher
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

[jquery-dev] Re: implementing in attribute filtering

2009-05-24 Thread chris thatcher
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

[jquery-dev] Re: new project - fluidIA - open source UI prototyping based on jQuery

2009-05-24 Thread chris thatcher
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,

[jquery-dev] Re: jQuery ajax, cant get crossdomain to work.

2009-05-24 Thread chris thatcher
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:

[jquery-dev] Re: window['eval']() in rhino

2009-05-19 Thread chris thatcher
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

[jquery-dev] Re: running qunit in envjs

2009-05-16 Thread chris thatcher
, John Resig jere...@gmail.com wrote: I'm confused - why are you attaching the QUnit.done/log handlers inside window.onload? Ideally they should be the very first thing done (after loading the test suite itself). --John On Tue, May 12, 2009 at 10:59 PM, chris thatcher thatcher.christop

[jquery-dev] Re: running qunit in envjs

2009-05-15 Thread chris thatcher
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 great and i can even use QUnit.done to output a static

[jquery-dev] running qunit in envjs

2009-05-12 Thread chris thatcher
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

[jquery-dev] Re: Optional scope for events

2009-05-07 Thread chris thatcher
context++ On Thu, May 7, 2009 at 1:53 PM, Balazs Endresz balazs.endr...@gmail.comwrote: 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

[jquery-dev] Re: jquery-claypool

2009-05-06 Thread chris thatcher
://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. -- Trey On May 6, 12:53 am, chris thatcher thatcher.christop

[jquery-dev] jquery-claypool

2009-05-05 Thread chris thatcher
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

[jquery-dev] sorry for cross post

2009-05-05 Thread chris thatcher
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 unsubscribe

[jquery-dev] utf-8 characters javascript for weblit

2009-03-31 Thread chris thatcher
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,

[jquery-dev] Re: CONTEXT LOGIC

2009-03-25 Thread chris thatcher
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

[jquery-dev] Re: jQuery - Development Environments?

2009-03-13 Thread chris thatcher
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 jollyt...@gmail.com wrote: Hi Daniel, you don't say what OS you use. This can make a big

[jquery-dev] Re: Cannot run test framework with fresh SVN checkout

2009-02-26 Thread chris thatcher
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,

[jquery-dev] Re: A Modest Proposal: jQuery Enterprise

2009-02-24 Thread 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

[jquery-dev] Re: A Modest Proposal: jQuery Enterprise

2009-02-24 Thread chris thatcher
of this already: 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 thatcher.christop...@gmail.com wrote: I'd definitely

[jquery-dev] plugin mentors

2009-02-23 Thread chris thatcher
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

[jquery-dev] Rhino runtest and utf-8

2009-02-17 Thread chris thatcher
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! --

[jquery-dev] Re: Rhino runtest and utf-8

2009-02-17 Thread chris thatcher
thanks! On Tue, Feb 17, 2009 at 4:56 PM, John Resig jere...@gmail.com wrote: Thanks Chris - just landed this fix. --John On Tue, Feb 17, 2009 at 4:41 PM, chris thatcher thatcher.christop...@gmail.com wrote: If your unlucky enough to have to develop on a windows machine you might get

[jquery-dev] Re: Dimensions Speed Improvement

2009-02-13 Thread chris thatcher
+1, nice work mike! On Fri, Feb 13, 2009 at 4:25 PM, John Resig jere...@gmail.com 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.)

[jquery-dev] Re: First Round of 1.3 Patches

2008-12-16 Thread chris thatcher
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 jere...@gmail.com wrote: Hi Everyone -

[jquery-dev] Re: cross domain issue

2008-11-07 Thread chris thatcher
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, and some

[jquery-dev] Re: Fast trim implementation

2008-11-04 Thread chris thatcher
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

[jquery-dev] Re: XPath for objects

2008-11-03 Thread chris thatcher
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 license is GPL only? you mean jquery.collection ? I'm really not very license savy. I bet we could poke Ariel with a stick

[jquery-dev] Re: XPath for objects

2008-11-02 Thread chris thatcher
. 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 project on github, jquery.jsonpath uses jquery.collection(Ariel Flesler

[jquery-dev] Re: XPath for objects

2008-11-02 Thread chris thatcher
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 really sure what you mean about 'maintain a scheme' and how open source

[jquery-dev] Re: New Selector Engine Patch

2008-11-01 Thread chris thatcher
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)

[jquery-dev] Re: XPath for objects

2008-11-01 Thread chris thatcher
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 limited support in browsers

[jquery-dev] Re: New Selector Engine Patch

2008-11-01 Thread chris thatcher
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 but thought I'd just

[jquery-dev] Re: New Selector Engine Patch

2008-11-01 Thread chris thatcher
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 Sizzle is if it solves some of the simpler namespace/xml issues that seemed none intuitive in jquery's selector engine? In general my issue has

[jquery-dev] Re: jQuery and guids

2008-10-01 Thread chris thatcher
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 plugins. On Sep 30, 11:08 pm, chris thatcher [EMAIL PROTECTED] wrote: One thing I didnt understand after the jquery

[jquery-dev] Re: jQuery and guids

2008-10-01 Thread chris thatcher
to use a guid for your plugins. On Sep 30, 11:08 pm, chris thatcher [EMAIL PROTECTED] wrote: 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

[jquery-dev] jQuery(Object).bind vs jQuery(DomElement).bind + (delegation)

2008-09-30 Thread chris thatcher
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

[jquery-dev] Analogy between .bind() and .data() ?

2008-09-30 Thread chris thatcher
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

[jquery-dev] Re: ajaxSend not fired with jsonp

2008-09-02 Thread chris thatcher
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 ajax