Commit Graph

303 Commits

Author SHA1 Message Date
Andrew Dupont 3ad847ce4b Fix issue where certain versions of Safari treat class names case-insensitively in Selector/$$ queries. [#390 state:resolved] 2008-11-18 23:26:22 -06:00
Andrew Dupont 9f09a8c791 Refactored class.js. 2008-11-18 22:28:06 -06:00
Nick Stakenburg d12e77c56d Fixed event.js so more unit tests pass on IE. Changed the use of '_' prefix to match other parts of the rewrite branch. 2008-10-26 16:19:37 -05:00
Andrew Dupont 62a1f7e2ce Fix issue where Function#argumentNames returned incorrect results in IE when comments were intermixed with argument names. [#397 state:resolved] 2008-10-26 16:15:51 -05:00
Andrew Dupont be44ca0089 Merge branch 'rewrite' of git@github.com:sstephenson/prototype into rewrite 2008-10-02 01:01:48 -05:00
Andrew Dupont b878bfe3ff Refactored event.js. 2008-10-02 01:00:05 -05:00
Tobie Langel cd0734b8a7 string.js rewrite. 2008-10-01 15:08:05 +02:00
Tobie Langel f788cf7048 Revert "Variables renaming in function.js for readability."
This reverts commit 160f85f518.
2008-10-01 15:06:03 +02:00
Tobie Langel ba30188e5d string.js rewrite. 2008-10-01 15:01:35 +02:00
Tobie Langel 160f85f518 Variables renaming in function.js for readability. 2008-10-01 01:46:48 +02:00
Tobie Langel d9087c26a9 function.js: rename private 'combine' method to 'update', add a private 'merge' methos. 2008-10-01 01:36:03 +02:00
Tobie Langel 3a93b6ccae Improve performance in function.js by using Array#slice directly. 2008-10-01 00:58:33 +02:00
Tobie Langel d55932fc8c function.js rewrite. 2008-09-30 10:12:54 +02:00
Tobie Langel ec5069ed3a Refactor object.js. 2008-09-30 01:04:25 +02:00
Tobie Langel fee81bffee Fix typo in file name. 2008-09-30 00:52:45 +02:00
Tobie Langel 9af3c039e1 Split ajax.js 2008-09-30 00:05:23 +02:00
Tobie Langel 8d3911ec09 Split src code into lang, dom and ajax directories. 2008-09-30 00:05:23 +02:00
Tobie Langel e3f3e95b84 Split base.js up. 2008-09-30 00:05:22 +02:00
Tobie Langel 373ef2d839 Extract the template class out of string.js and into its own file . 2008-09-30 00:05:22 +02:00
Tobie Langel dc70b13aed Reorganize range.js. 2008-09-30 00:05:22 +02:00
Tobie Langel f64c9568c8 Reorganize number.js. 2008-09-30 00:05:22 +02:00
Tobie Langel 1669e41cda Reorganize hash.js. 2008-09-30 00:05:22 +02:00
Tobie Langel bcbdf3b247 Reorganize enumerable.js. 2008-09-30 00:05:22 +02:00
Tobie Langel 22f9cfc626 More clean-up to array.js. 2008-09-30 00:05:22 +02:00
Tobie Langel e63f50aa60 Reorganizing array.js source code. 2008-09-30 00:05:22 +02:00
Thomas Fuchs deb47c6361 Workaround a JavaScript exception in Opera. 2008-09-28 21:12:15 +02:00
Tobie Langel 6416d28080 Fix Event#element throwing errors for events missing a currentTarget. 2008-09-09 11:57:59 -07:00
Tobie Langel be8508f2a1 Event#element clean-up. 2008-09-07 20:50:35 -07:00
Andrew Dupont b7af8a745b Improve NodeList detection for Safari's $A function. [#187 state:resolved] 2008-09-07 20:19:05 -07:00
Andrew Dupont 5ddfad8a62 Use different tactic to sniff for Opera in order to avoid false positives in IE. [#176 state:resolved] 2008-09-07 20:18:21 -07:00
Andrew Dupont 7444a4ad02 Rename variable in Form.Element.Serializers.select. [#180 state:resolved] 2008-09-07 20:11:53 -07:00
Andrew Dupont 6c6f8d39ea Coerce Opera's version string into a number whenever we need to sniff. [#163 state:resolved] 2008-09-07 20:07:30 -07:00
Andrew Dupont 4308f376ff Update copyright dates in HEADER. 2008-09-07 19:37:54 -07:00
Andrew Dupont d88c25fd47 Ensure Object.isElement handles "falsy" values properly. 2008-09-07 19:26:21 -07:00
Andrew Dupont b31f642e64 Ensure Hash does not return keys from the prototype chain (e.g., constructor, valueOf, toString). 2008-09-07 19:20:38 -07:00
Andrew Dupont 64002a9083 Fix toString/valueOf sharing same method reference via closure in Class#addMethods. Use plain property assignment, since Object.extend fails to enumerate over toString/valueOf. 2008-09-07 19:19:21 -07:00
Andrew Dupont 637134651a Fix IE's missing negated attribute operator in the selector class. 2008-09-07 18:50:43 -07:00
Andrew Dupont 34798f0d74 Fix Opera 9.5 strict issue that swaps documentElement.clientHeight with body.clientHeight. 2008-09-07 18:49:45 -07:00
jdalton 1d0fb77ec3 Force Element.Methods.Simulated.hasAttribute() to return a boolean value. 2008-09-07 16:30:11 -07:00
Andrew Dupont b52a55482e Small unit test fix. 2008-09-07 10:56:33 -07:00
Tobie Langel 6004aa8289 Ensure Element.hide and Element.show return an element, even if you pass an element ID. 2008-09-06 22:47:26 -07:00
Tobie Langel ae707f4475 Fix an issue where Element#getStyle('height') returns null if the height is set to "auto." 2008-09-03 18:27:04 -07:00
Tobie Langel 6847d27509 Form#serializeElements should not serialize file inputs. 2008-09-03 16:33:03 -07:00
Andrew Dupont 9787801f06 Fix an issue with calling Event.pointer before the DOM is loaded. (kangax, jddalton) [#4 state:resolved] 2008-09-03 15:33:56 -07:00
Tobie Langel b4ea2abda1 Element#down on an input element should not raise error. 2008-09-03 14:16:32 -07:00
Tobie Langel b628c6de5c Avoid potential memory leaks in Firefox. [#12 state:resolved] 2008-09-03 12:19:28 -07:00
Tobie Langel 206a4c824f Allow Function#argumentNames to handle line breaks between arguments. 2008-09-03 12:17:53 -07:00
Samuel Lebeau 15b43b7633 Add context argument to Number#times 2008-09-03 11:45:59 -07:00
Tobie Langel 5a1ef1e05c Fix Function#argumentNames. 2008-09-03 11:44:47 -07:00
Tobie Langel 9c8d9d89d6 Replace all instances of foo.__proto__ by foo['__proto__'] for Caja-compliance. 2008-09-02 19:06:25 -07:00