Commit Graph

689 Commits

Author SHA1 Message Date
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
tjcrowder
cdaaaa6421 doc: Merged old docs for Function#wrap, expanded on the signature of the wrapper. 2009-09-10 13:43:01 +01:00
tjcrowder
d441752778 doc: Merged and updated old docs for Function#methodize. 2009-09-10 13:29:27 +01:00
tjcrowder
037a47d68a Added missing semicolon in Function#delay. 2009-09-10 13:15:46 +01:00
tjcrowder
9300bd0350 doc: Fleshed out docs on Function#delay. 2009-09-10 13:15:30 +01:00
tjcrowder
d4aa3b7b4a doc: Fleshed out docs on Function#defer. 2009-09-10 13:11:30 +01:00
tjcrowder
5f02032763 doc: Fleshed out docs on Function#curry. 2009-09-10 13:06:31 +01:00
tjcrowder
c7d0bcdb6c doc: Fleshed out docs on Function#bindAsEventListener and added new example. 2009-09-10 12:53:30 +01:00
tjcrowder
853e0fbbec doc: Update Function#bind documentation, adding examples (simpler, less rambling ones than the old docs). 2009-09-10 11:33:11 +01:00
tjcrowder
29b81fda69 doc: Merged old docs for Function#argumentNames. 2009-09-10 10:31:56 +01:00
Tobie Langel
cf72372092 doc: Clean up the documentation of Enumerable. 2009-09-08 03:00:23 +02:00
tjcrowder
47c7e12cc6 doc: merged and updated old docs for Enumerable#zip 2009-09-08 01:22:12 +02:00
tjcrowder
7691177374 doc: merged old docs for Enumerable#toArray 2009-09-08 01:21:11 +02:00