Commit Graph

14 Commits

Author SHA1 Message Date
Thomas Fuchs 194fda0b6d prototype: Make sure Enumerable#include doesnt do type comparision. [Mislav Marohnić] 2007-08-17 11:06:07 +00:00
Sam Stephenson df71a6b54f prototype: Add Object.isString, Object.isNumber, and Object.isUndefined, and clean up the source to make use of Object.isXXX where possible. 2007-08-08 23:19:45 +00:00
Sam Stephenson c9a0485b60 prototype: Add some missing semicolons to the source tree. Closes #9140. 2007-08-07 19:41:13 +00:00
Sam Stephenson 44ef74813b prototype: Improvements for Element#replace, Element#update and Element#insert. Closes #7429, #9060. 2007-07-24 18:52:17 +00:00
Thomas Fuchs 513042dd98 Add Array#intersect for set intersection. Returns a new array containing all items common to the array and the argument, with duplicates removed (clone of the Ruby & method). 2007-07-18 21:07:31 +00:00
Sam Stephenson 1c17b6381a prototype: Enhance the Enumerable and Array APIs to more closely match those of JavaScript 1.6 as implemented in Firefox 1.5. Closes #6650, #8409. 2007-07-09 18:55:58 +00:00
Sam Stephenson 562e61fc8c prototype: Add Function#curry, Function#delay, Function#defer, and Function#wrap. Closes #8134. 2007-04-29 05:37:07 +00:00
Sam Stephenson 643b7bec37 prototype: Add extra spacing so Array#toJSON and Hash#toJSON generate YAML-loadable JSON. Closes #7883. 2007-04-24 02:50:52 +00:00
Thomas Fuchs a6984e692b Prevent a crash in Safari when using $A() on NodeList objects that contain text nodes. [Thomas Fuchs] 2007-03-11 13:42:40 +00:00
Sam Stephenson fb0013a193 prototype: Give the parens some breathing room 2007-03-09 04:23:28 +00:00
Sam Stephenson f160bc4d4d prototype: Add support for JSON encoding and decoding. Closes #7427. 2007-03-09 03:23:24 +00:00
Thomas Fuchs d1481932b9 Prototype: Add unified Browser detection by providing Prototype.Browser.(IE|Gecko|WebKit|Opera) booleans. Closes #6800. [savetheclocktower] 2007-02-19 22:23:10 +00:00
Sam Stephenson 6eca3f0eea prototype: Array.prototype.uniq optimization. Closes #7417. 2007-02-05 05:09:41 +00:00
Sam Stephenson bb4d189b37 prototype: Reorganize the source tree. 2007-01-18 22:24:27 +00:00