Oops, I could not catch your meaning.

Is it the jQuery development team has some plan or design already for
resolving this issue, just not yet implement on the latest source?

Since I fetched from the trunk (r6274) and the 2 issues are
repeatable.


Someone on the IRC development channel has suggested me to use
json2.js too.

However, the project to introduce jQuery has been into a stable stage,
when jQuery is the newly added component, it's considered more
favorite to modify jQuery than the old stuff, that the migration from
json.js to json2.js may not be as simple as modifying jQuery.

And I concern the way I modified jQuery is whether the usual approach
and recognized by the jQuery development team since they may have
their own approach or design that I am not aware of.

Sorry for the previous diff that it wasn't generated from a svn diff.
Below is the updated code and svn diff of the local copy against the
revision 6274.

Index: selector.js
===================================================================
--- selector.js (revision 6274)
+++ selector.js (working copy)
@@ -189,6 +189,9 @@

        while ( expr && set.length ) {
                for ( var type in Expr.filter ) {
+                       if ( !Expr.match[ type ].exec ) {
+                               continue;
+                       }
                        if ( (match = Expr.match[ type ].exec( expr )) != null 
) {
                                var filter = Expr.filter[ type ], found, item;
                                anyFound = false;
Index: event.js
===================================================================
--- event.js    (revision 6274)
+++ event.js    (working copy)
@@ -256,6 +256,9 @@
                for ( var j in handlers ) {
                        var handler = handlers[j];

+                       if ( !handler.guid ) {
+                               continue;
+                       }
                        // Filter the functions by class
                        if ( all || namespace.test(handler.type) ) {
                                // Pass in a reference to the handler function 
itself
===================================================================

--
Nothize


On Mar 13, 12:54 am, John Resig <[email protected]> wrote:
> This is something that we're looking in to for a future release, in the
> meantime, you should definitely be using json2.js:http://json.org/json2.js
>
> --John
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to