Commit Graph

701 Commits

Author SHA1 Message Date
Tobie Langel
70c5e98d44 Make the UpdaterHelper function on WebKit-based browsers. 2009-10-25 16:24:51 +01:00
Tobie Langel
24569d1d98 Deprecate the Selector API. 2009-10-25 16:13:11 +01:00
Tobie Langel
fdf3424f78 Add unit tests. 2009-10-25 00:40:48 +02:00
Tobie Langel
107f812525 Modify PrototypeHelper.sprocketize to take a hash of options rather than separate arguments. 2009-10-24 22:17:37 +02:00
Tobie Langel
83826829a7 Add Prototype.Selector.engine which simply holds a reference to the actual selector engine used. 2009-10-24 16:12:38 +02:00
Tobie Langel
5f85799c3f Refactor NWMatcher adapter. 2009-10-23 19:29:03 +02:00
Tobie Langel
75aab03eba Repo and Rakefile refactoring. 2009-10-23 18:32:07 +02:00
Tobie Langel
7f5ce1e6c2 Clean-up NWMatcher proxy. 2009-10-23 13:17:53 +02:00
Tobie Langel
f6f6955a71 Marked old Selector API as deprecated. 2009-10-23 12:58:10 +02:00
Tobie Langel
b0159bdba7 Document Prototype.Selector API. 2009-10-23 12:53:03 +02:00
Tobie Langel
ed27b225a5 Fix Element extension when using the NWMatcher selector engine. (jddalton) 2009-10-23 07:31:37 +02:00
Tobie Langel
15c323b9ac Include NWMatcher as a submodule. 2009-10-23 07:18:52 +02:00
Tobie Langel
17e8064d8a Add legacy Prototype selector engine. Acessible as Prototype.Legacy. Use SELECTOR_ENGINE=legacy to build. 2009-10-23 06:39:59 +02:00
Tobie Langel
cba5468b09 Nitpicking. 2009-10-23 06:38:27 +02:00
Tobie Langel
7762e002cb Reorder repository to allow for custom selector engines to be included instead of Sizzle (the current default). Selector engines belong in the vendor directory and must have a selector_engine.js file. To build a Prototype with your engine of choice just spepcify it at build time using the SELECTOR_ENGINE option. For example, to build a version with NSMatcher: rake dist SELECTOR_ENGINE=nwmatcher. 2009-10-23 05:49:40 +02:00
Tobie Langel
3e19f959a2 Fix Selector#findElements. 2009-10-23 04:42:05 +02:00
Tobie Langel
da3e1e361e Clean-up. 2009-10-23 04:10:30 +02:00
Tobie Langel
2d13d45dc8 Remove dependencies to Selector in favor of Prototype.Selector throughout the library. 2009-10-23 01:43:48 +02:00
Tobie Langel
caf66395d5 Add Prototype.Selector object with select, match and filter methods as a wraper around Sizzle.Redefine the whole of Selector API in terms of Prototype.Selector. 2009-10-23 01:17:53 +02:00
Andrew Dupont
d3df9ba400 Automate installation of Git submodules. 2009-10-11 18:49:14 -05:00
Andrew Dupont
c5372d81f3 Detect if Sizzle hasn't been loaded via submodule. 2009-10-10 19:07:37 -05:00
Sam Stephenson
4d042a9fa0 Match each element individually in Selector.findElement since Sizzle.matches does not preserve order 2009-10-10 13:24:04 -05:00
Sam Stephenson
79cf30aab1 Extend matched elements 2009-09-19 16:17:43 -05:00
Sam Stephenson
4dd878f237 Replace Prototype's Selector implementation with Sizzle 2009-09-19 14:42:59 -05:00
Sam Stephenson
9e4a7ce8e8 Don't call private Selector methods in Element#previous and Element#next 2009-09-19 14:40:01 -05:00
tjcrowder
cfc7e7a2e7 doc: Convert all subheadings to H5s throughout. 2009-09-10 17:45:11 +01:00
tjcrowder
f4314a8789 doc: Merged and updated old docs for Object.clone. 2009-09-10 17:12:38 +01:00
tjcrowder
63ea557b06 doc: Merged and updated old docs for Number#toPaddedString. 2009-09-10 16:51:36 +01:00
tjcrowder
a47d9e1c2f doc: Merged and updated old docs for Number#toColorPart. 2009-09-10 16:32:36 +01:00
tjcrowder
e6b6193124 doc: Fleshed out Number#times. 2009-09-10 16:30:19 +01:00
tjcrowder
20724ea1f9 doc: Fleshed out Number#round slightly. 2009-09-10 16:18:59 +01:00
tjcrowder
b12ec913d7 doc: Fleshed out Number#floor slightly. 2009-09-10 16:18:33 +01:00
tjcrowder
e05a089b33 doc: Fleshed out Number#ceil slightly. 2009-09-10 16:18:12 +01:00
tjcrowder
e5fa0928e8 doc: Fleshed out Number#abs slightly. 2009-09-10 16:17:35 +01:00
tjcrowder
917f10b574 doc: Modified Number preamble to leave out unnecessary reference to Ruby. 2009-09-10 16:15:21 +01:00
tjcrowder
fe5290e15e doc: Fixed missing quote in example for Hash#keys and missing arrows in example for Hash#each. 2009-09-10 15:45:05 +01:00
tjcrowder
3ee5b5ddd8 doc: Merged and updated old docs for Hash#values. 2009-09-10 15:43:29 +01:00
tjcrowder
1910e08a79 doc: Merged and updated old docs for Hash#update. 2009-09-10 15:42:04 +01:00
tjcrowder
71e07f0efa doc: Merged and updated old docs for Hash#unset. 2009-09-10 15:39:34 +01:00
tjcrowder
da402268ac doc: Merged and updated old docs for Hash#toQueryString. 2009-09-10 15:37:26 +01:00
tjcrowder
48a0f5a44c doc: Merged and updated old docs for Hash#toObject. 2009-09-10 15:18:05 +01:00
tjcrowder
64cd05dd59 doc: Fleshed out docs for Hash#toJSON. 2009-09-10 15:15:36 +01:00
tjcrowder
62a3c8fb38 doc: Merged and updated old docs for Hash#get 2009-09-10 15:12:56 +01:00
tjcrowder
ab5a19a1c1 doc: Merged old docs for Hash#merge, updated example. 2009-09-10 15:07:28 +01:00
tjcrowder
305e79e5d3 doc: Merged old docs for Hash#keys, updated example. 2009-09-10 15:00:34 +01:00
tjcrowder
e02a1cf5c6 doc: Merged old docs for Hash#get. 2009-09-10 14:57:10 +01:00
tjcrowder
00ebde59a2 doc: Merged old docs for Hash#each. 2009-09-10 14:55:12 +01:00
tjcrowder
f457097afa doc: Minor grammar update to Hash#clone. 2009-09-10 14:13:28 +01:00
tjcrowder
1bab56cfb7 doc: Corrected and new Hash docs, they were describe the 1.5 behavior of not cloning. 2009-09-10 14:04:27 +01:00
tjcrowder
4905d1777c doc: Fixed name of argument in Function#wrap docs. 2009-09-10 14:03:07 +01:00