Commit Graph

712 Commits

Author SHA1 Message Date
Andrew Dupont
c89d6eac95 Fix incorrect offset in Element.viewportOffset on IE < 8.
(cherry picked from commit 3afb0002cbd31726187338c5119657b76111f80c)
2009-11-06 10:58:45 -06:00
Andrew Dupont
62d0430f3b Fix Element.viewportOffset on nested elements in Opera < 9.5 and remove browser sniff.
(cherry picked from commit 0d2d18fb7297fb945ca6983b843c5bcf367c721c)
2009-11-06 10:56:01 -06:00
Andrew Dupont
093c0cce4b Optimize retrieving of top|left|right|bottom properties. Add some documentation. Disable setting of properties for now. 2009-11-02 23:54:25 -06:00
Andrew Dupont
ac451d6d8f Tweaks to unit tests. 2009-11-02 23:52:19 -06:00
Andrew Dupont
97ea37d3d5 A bunch of fixes for offsets. 2009-11-02 23:52:07 -06:00
Andrew Dupont
7aa195b650 Update layout code. Roughly compatible with IE 6-8... so far. 2009-11-02 20:03:17 -06:00
Andrew Dupont
749badbd4d Revised pass on Element.Layout and Element.Offset classes. Unit tests are incomplete. 2009-10-30 04:19:17 -05:00
Andrew Dupont
5d027eb939 Merge branch 'master' of git@github.com:sstephenson/prototype 2009-10-30 02:59:14 -05:00
Tobie Langel
af89847a4f Make Event.stopObserving return element in all cases. [#810 state:resolved] 2009-10-23 07:51:50 +02:00
Tobie Langel
bf8e404805 Make Event.stopObserving return element in all cases. [#810 state:resolved] 2009-10-23 07:49:57 +02:00
Yaffle
2d3e423230 Add missing semicolons. [#837 state:resolved] 2009-10-21 18:25:27 +02:00
Tobie Langel
f9c680a9ba More nitpicking. 2009-10-21 17:58:09 +02:00
Tobie Langel
8783065b8e Cosmetic rewrite of String#startsWith and String#endsWith with performance-related comments. 2009-10-21 17:24:09 +02:00
Tobie Langel
35ed99ba2e doc: nitpicking. 2009-10-21 17:00:17 +02:00
Tobie Langel
067a0ec364 Update to latest PDoc release. 2009-10-21 16:35:43 +02:00
tjcrowder
859197ca8b doc: Merged/updated old docs for Element.descendants. 2009-10-09 17:20:39 +01:00
tjcrowder
d10aad7bfa doc: Merged/updated old docs for Element.descendantOf. 2009-10-09 17:15:15 +01:00
tjcrowder
adf80ad1b3 doc: Merged/updated old docs for Element.cumulativeScrollOffset, clarified units, added example. 2009-10-09 17:10:13 +01:00
tjcrowder
f1f6fca60b doc: Clarified units in Element.cumulativeOffset and added example. 2009-10-09 17:01:40 +01:00
tjcrowder
c448b38f7b doc: Merged/updated old docs for Element.clonePosition. 2009-10-09 16:55:42 +01:00
tjcrowder
9ce1ea06b5 doc: Merged/updated old docs for Element.cleanWhitespace. 2009-10-09 16:10:44 +01:00
tjcrowder
1e29e3c6c9 doc: Merged/updated old docs for Element.classNames, mostly by marking it deprecated. 2009-10-09 15:49:54 +01:00
tjcrowder
892eb9d6b3 doc: Merged/updated old docs for Element.childElements / Element.immediateDescendants. Made immediateDescendants an alias of childElements rather than vice-versa as the latter is depreceated. 2009-10-09 15:34:39 +01:00
tjcrowder
e3c89c08c6 doc: Merged/updated old docs for Element.ancestors. 2009-10-09 14:48:47 +01:00
tjcrowder
402a2d408e doc: Merged/updated old docs for Element.adjacent 2009-10-09 14:31:02 +01:00
tjcrowder
77832408bd doc: Merged/updated old docs for Element.addClassName 2009-10-09 14:14:14 +01:00
tjcrowder
7df62ce864 doc: Merged/updated old docs for Element.extend 2009-10-09 13:56:39 +01:00
tjcrowder
d6d3ab1fef doc: Merged/updated old docs for Element constructor 2009-10-09 13:36:14 +01:00
tjcrowder
7d073ad56a doc: Merged/updated old docs for Element overview 2009-10-09 13:35:38 +01:00
tjcrowder
d2874c0294 doc: Merged old docs for Element.addMethods. 2009-10-08 14:46:14 +01:00
Juriy Zaytsev
3b525f194d String#startsWith, String#endsWith performance optimization [#808 state:resolved] 2009-09-28 19:21:37 -04:00
Samuel Lebeau
f4ea4c6ef7 Rewrite String#camelize using String#replace with a replacement function [#297 state:resolved] 2009-09-26 13:36:42 -04:00
Andrew Dupont
4dedcd3b62 Merge branch 'master' of git@github.com:sstephenson/prototype 2009-09-15 18:27:56 -05:00
Andrew Dupont
58a2f9db28 Update to latest PDoc. 2009-09-15 18:27:46 -05:00
Andrew Dupont
19615e7a00 Cleanup on PDoc templates. 2009-09-15 18:27:35 -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