Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Sizzle - standards edition
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Leonya Khachaturov  
View profile  
 More options Mar 29 2010, 9:24 am
From: Leonya Khachaturov <leonidkhachatu...@gmail.com>
Date: Mon, 29 Mar 2010 06:24:39 -0700 (PDT)
Local: Mon, Mar 29 2010 9:24 am
Subject: Sizzle - standards edition
I am trying to create a custom build of jQuery to be used on mobile
sites, the goal is to make the size of the library as small as
possible, by ripping out the parts I don't need, i.e. fx.js,
offset.js, dimensions.js. Now I'm trying to create a custom Sizzle
build, one that only supports document.querySelectorAll (mobile WebKit
supports it, and I don't care about other browsers at the moment).
Unfortunately, Sizzle seems to be written in such a way that it often
falls back to using "manual" selectors so I haven't found a way to
remove any sizeable portion of it without breaking stuff. I'm not
really a specialist in selector engines so I'm wondering if the
approach I'm taking is meaningful at all. Can it be done without
breaking significant functionality?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Evandro Myller  
View profile  
 More options Mar 29 2010, 1:42 pm
From: Evandro Myller <evandromyl...@gmail.com>
Date: Mon, 29 Mar 2010 14:42:33 -0300
Local: Mon, Mar 29 2010 1:42 pm
Subject: Re: Sizzle - standards edition
On Monday 29 March 2010 10:24:39 Leonya Khachaturov wrote:

> I am trying to create a custom build of jQuery to be used on mobile
> sites, the goal is to make the size of the library as small as
> possible, by ripping out the parts I don't need, i.e. fx.js,
> offset.js, dimensions.js. Now I'm trying to create a custom Sizzle
> build, one that only supports document.querySelectorAll (mobile WebKit
> supports it, and I don't care about other browsers at the moment).
> Unfortunately, Sizzle seems to be written in such a way that it often
> falls back to using "manual" selectors so I haven't found a way to
> remove any sizeable portion of it without breaking stuff. I'm not
> really a specialist in selector engines so I'm wondering if the
> approach I'm taking is meaningful at all. Can it be done without
> breaking significant functionality?

building a 'custom version' of jquery could give you some trouble.
plus if you try to replace sizzle, you'd have to rebuild something else with
the same structure -- am not sure, but jquery may rely on other parts of the
sizzle core.

--

--
Evandro Myller
Front-end engineer / architect
emyller.net


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions Older topic »