Commit Graph

358 Commits

Author SHA1 Message Date
Andrew Dupont fa12b00111 Remove sniffing from `Element` when detecting broken `setAttribute` in IE. [#571 state:resolved] (kangax) 2009-03-08 18:18:55 -05:00
Andrew Dupont ba2c26090b Remove sniffing from `Element.update` branching in favor of feature detection. [#574 state:resolved] 2009-03-08 18:16:02 -05:00
Andrew Dupont 7833e8c909 Remove sniffing when branching `escapeHTML` and `unescapeHTML`. [#570 state:resolved] (kangax) 2009-03-08 18:02:09 -05:00
Andrew Dupont 4453e62fd5 Add the last of the documentation for the Ajax section. 2009-03-07 20:01:22 -06:00
Andrew Dupont deb3df525e Change some PDoc characters to HTML entities so that we don't confuse Sprockets. 2009-03-07 15:44:50 -06:00
Andrew Dupont 0f5c9bfcc5 Updates to PDoc in DOM section. 2009-03-07 15:44:12 -06:00
Andrew Dupont 449e532f9a Add PDoc for most of Ajax section. 2009-03-07 15:43:20 -06:00
Andrew Dupont 8c2af9bd66 Descriptions of all the classes/namespaces in the "Language" section. 2009-03-06 15:41:11 -06:00
Andrew Dupont d189f809a4 Fixed aliases in PDoc for Enumerable. 2009-03-06 12:20:09 -06:00
Andrew Dupont 00742ac153 Extensive PDoc changes. 2009-03-05 13:56:01 -06:00
Andrew Dupont e88f22e0c3 Redefine Element#down in IE 6-7 to avoid extending all descendants when no selector is given. [#452 state:resolved] (eno, Andrew Dupont) 2009-02-28 12:18:31 -06:00
Andrew Dupont 4a0b9b7c1d Reverse the definitions of Event#pointer(X|Y) and Event#pointer to prevent unnecessary computation. [#403 state:resolved] (Nick Stakenburg, Andrew Dupont). 2009-02-28 12:16:12 -06:00
Andrew Dupont 9d7a981e4c Add first-class support for `mouseenter` and `mouseleave` events in non-IE browsers (IE supports them natively). [#350 state:resolved] (Nick Stakenburg, Andrew Dupont) 2009-02-28 10:07:08 -06:00
Andrew Dupont 682a55c2d3 Make sure `_extendedByPrototype`, `_countedByPrototype`, and `prototypeUID` node expandos are accessed with `typeof` to prevent errors in some environments. [#354 state:resolved] (Hilberty, kangax, Andrew Dupont) 2009-02-28 04:48:57 -06:00
Andrew Dupont 26eaa4300b Fix issue where Opera 9.x returns incorrect results on certain Selector queries with descendant combinators. [#395 state:resolved] (Arpan, fearphage, kangax, Andrew Dupont) 2009-02-28 04:41:55 -06:00
Andrew Dupont ee56c93f16 Remove old lines from class.js. 2009-02-28 04:36:44 -06:00
Andrew Dupont de77550574 Minor PDoc corrections. 2009-02-27 17:02:42 -06:00
Andrew Dupont d22a9988fa Null out references to elements in cache on page unload. Need this in addition to the Event#stopObserving calls to clean up memory leaks. [#425 state:resolved] (ykphuah, mr_justin, Andrew Dupont) 2009-02-27 16:45:51 -06:00
Andrew Dupont 47abfa68f0 Ensure `toString` and `valueOf` properties are copied to a subclass only when necessary in IE6. [@382 state:resolved] (Samuel Lebeau) 2009-02-27 16:35:05 -06:00
Andrew Dupont d97466a7c1 Corrected a regex that was not picking up on attributes with hyphens. 2009-02-25 23:55:29 -06:00
Andrew Dupont 68096071a4 Added PDoc for form.js. 2009-02-25 17:00:40 -06:00
Andrew Dupont 8bfd9cf555 Added PDoc for event.js. 2009-02-24 05:44:04 -06:00
Andrew Dupont 60b9477c5b Added PDoc for dom.js. 2009-02-24 05:21:31 -06:00
Andrew Dupont 7a32414655 More PDoc additions. 2009-02-23 20:35:49 -06:00
Andrew Dupont c9df079839 Added/corrected some PDoc. 2009-02-23 20:21:02 -06:00
Andrew Dupont 043653a282 Make sure `getAttribute` is used without flag when accessing the "type" attribute of an iframe (IE throws error otherwise). [#118 state:resolved] (Zekid, kangax) 2009-02-23 20:20:21 -06:00
Andrew Dupont e9bdaef0af String#gsub should escape RegExp metacharacters when the first argument is a string. [#469 state:resolved] (michael, kangax) 2009-02-23 20:13:41 -06:00
Andrew Dupont e3845ba0f6 Fix order of replacement in String#unescapeHTML [#544 state:resolved] (SWeini, kangax) 2009-02-23 20:07:43 -06:00
Andrew Dupont 432a9422d6 Fix issue where a Selector query rooted on a node that had not been attached to the document failed in IE. [#464 state:resolved] (jddalton, kangax, Douglas Fraser, Andrew Dupont) 2009-02-22 15:59:01 -06:00
Andrew Dupont 8fe518719e Fix Selector to match elements with attributes containing hyphens. [#285 state:resolved] (leiyou, jddalton, kangax) 2009-02-22 15:16:19 -06:00
Andrew Dupont dc9d274d89 Make sure Form.reset always returns a reference to the receiver element. [#309 state:resolved] (Phil, kangax) 2009-02-22 15:11:40 -06:00
Andrew Dupont 97fc24a0b2 Escape ":" and "." characters when doing contextual CSS selection in browsers that support querySelectorAll. [#559 state:resolved] (fxtentacle, Andrew Dupont) 2009-02-22 12:45:00 -06:00
Andrew Dupont 9da5045df2 Removed redundant lines in selector.js. [#138 state:resolved] (Richard Quadling) 2009-02-21 23:32:00 -06:00
Andrew Dupont 91b787ae17 Ensure the `target` property on events is never undefined in IE. [#383 state:resolved] 2009-02-21 23:27:18 -06:00
Andrew Dupont ab1313ea20 Ensure Element#descendants always returns an array. [#373 state:resolved] 2009-02-18 10:34:01 -06:00
Andrew Dupont d3189652a6 Fixed incorrect usage of === operator. [#127 state:resolved] 2009-02-18 10:30:19 -06:00
James Wheare 03512f5060 Fix for http://prototype.lighthouseapp.com/projects/8886/tickets/543. Don't switch fixed position elements to absolute in Element.getDimensions
Signed-off-by: Sam Stephenson <sam@37signals.com>
2009-02-11 10:14:15 +08:00
Samuel Lebeau ceb7b72621 Avoid String#sub with empty pattern to make endless loop [#534 state:resolved]
Signed-off-by: Sam Stephenson <sam@37signals.com>
2009-02-11 10:12:28 +08:00
Sam Stephenson a519c02b2e Sprocketize Prototype 2009-01-27 15:42:32 -06:00
Andrew Dupont 952feb48a3 Changes to dom.js to get direct extension of element prototypes working in IE8. We're down to one test failure in the dom.js unit tests. 2009-01-21 20:40:45 -06:00
Andrew Dupont 4af7dc0f5d Changed feature detection in order to properly detect the mutable Element prototypes in IE8. 2009-01-21 20:29:23 -06:00
Samuel Lebeau 8a999a0389 Fix Range documentation 2009-01-12 08:28:49 -06:00
Samuel Lebeau b2597ece0c Start PDoc integration. 2009-01-12 08:27:43 -06:00
Andrew Dupont 997689fcea Switch Object.is(Array|String|Number) to use the vastly-superior approach discovered by Juriy. 2009-01-11 18:26:26 -06:00
savetheclocktower 31d1c6fd48 Further fix to ensure Object#is(String|Number) do not throw exceptions on host objects in IE. [#510 state:resolved] 2009-01-05 10:49:09 -06:00
Andrew Dupont 9f5c40c744 Ensure Enumerable#grep can handle strings with RegExp metacharacters. [#257 state:resolved] 2008-12-19 18:50:08 -06:00
Andrew Dupont e9e8c7fbe5 Switch to the "doScroll approach" for the dom:loaded custom event. [#127 state:resolved] 2008-12-16 22:52:24 -06:00
savetheclocktower bd1d3fa1ff Change the way we detect that an object of key/value pairs has been passed to Element#store. 2008-12-16 13:19:23 -06:00
Andrew Dupont c3c953363b Optimize document.viewport.get(Dimensions|Width|Height). [#336 state:resolved] 2008-12-15 20:40:15 -06:00
Andrew Dupont 07506e648b Fix issue where Object#isString and Object#isNumber return false for String and Number "wrapper" objects. [#375 state:resolved] 2008-12-15 20:31:18 -06:00