Commit Graph

55 Commits

Author SHA1 Message Date
tjcrowder
b57bdbd76e doc: Fixed documentation error on Array#compact. [#295 state:resolved] 2009-08-22 17:07:57 +02:00
tjcrowder
93b682df47 doc: Copied Class.addMethods from current Mephisto docs and fixed minor error. [#103 state:resolved] 2009-08-22 04:37:10 +02:00
tjcrowder
63b7c5d9e8 doc: Added caveats and examples to String#stripTags and String#stripScripts [#102 state:resolved] 2009-08-22 04:36:24 +02:00
tjcrowder
67311e07fd doc: Moved scope warning from Ajax.Updater to String#evalScripts and left cross link. [#38 state:resolved] 2009-08-22 04:35:52 +02:00
Andrew Dupont
cdc4366153 Add more Enumerable citations in PDoc. 2009-08-21 08:11:10 -05:00
Andrew Dupont
fefc2b728d Change PDoc syntax for "methodized" methods. 2009-08-21 08:11:09 -05:00
Tobie Langel
b214744a5d Greatly simplify String#(un)escapeHTML and remove their DOM dependencies. 2009-08-12 01:27:10 +02:00
Juriy Zaytsev
41b034b93b Improve getClass performance. [#747 state:resolved] 2009-07-29 15:04:39 +02:00
Tobie Langel
add69978e0 Fix a ridiculous yet harmless typo in a previous commit. Add more tests for PeriodicalExecuter. 2009-07-22 16:06:17 +02:00
Samuel Lebeau
fe388ebca5 Replace calls to String#gsub by String#replace internally, be more specific about which version of Safari is supported 2009-07-21 17:52:43 +02:00
Tobie Langel
49090bc957 Workaround IE's defficient handling of finally statements in PeriodicalExecuter. [#696 state:resolved] 2009-07-21 17:19:46 +02:00
Andrew Dupont
e41ccba6d8 Re-throw error in otherwise-empty catch clause so that PeriodicalExecuter does not suppress exceptions. [#696 state:resolved] (Samuel Lebeau) 2009-07-18 18:51:16 +02:00
Andrew Dupont
16b69a2ebf Update inline documentation. 2009-06-13 19:27:22 -05:00
Tobie Langel
ad89bfb738 Fixed a variety of non-ASCII chars and similar [#610 state:resolved] 2009-06-11 22:48:38 +02:00
Juriy Zaytsev
f50dc3639d No need to recreate subclass function every time inheritance is being set up in Class.create 2009-06-10 18:32:48 -04:00
Juriy Zaytsev
b2492aeec4 Fix Template#evaluate "eating" previous character if null was returned from toTemplateReplacements function. 2009-06-04 23:14:05 -05:00
Andrew Dupont
1b20386115 Minor PDoc changes. 2009-06-04 22:56:55 -05:00
Juriy Zaytsev
31fe0a0328 Make sure $A works with primitive values. 2009-05-15 22:05:53 -05:00
Andrew Dupont
cc0a75fe19 Make regex used in stripTags stricter. (igor, kangax) [#674 state:resolved] 2009-05-11 23:29:26 -05:00
Juriy Zaytsev
cb729625ae Use native String.prototype.trim in String.prototype.trim when available. (kangax) 2009-05-11 23:23:13 -05:00
Andrew Dupont
7bf8bd415f Fix accidental backtick escape. 2009-04-03 12:52:45 -05:00
Juriy Zaytsev
fa15f212fa Fix escapeHTML in Chrome by using a more strict check. 2009-03-22 01:12:45 -04:00
Andrew Dupont
9bb8fbf2ff Merge branch 'master' of git@github.com:sstephenson/prototype 2009-03-20 19:44:11 -05:00
Juriy Zaytsev
b34355653e Remove Array#reduce [#569 state:resolved] 2009-03-20 12:05:02 -04:00
Andrew Dupont
deeb3bbd88 PDoc changes. 2009-03-20 05:46:53 -05:00
Juriy Zaytsev
c7a5d3480e Make sure try/catch/finally is used instead of try/finally [#421 state:resolved] 2009-03-19 16:47:07 -04:00
Juriy Zaytsev
1a375daea2 Remove sniffing from $A by using in operator when accessing property of a nodelist. 2009-03-19 16:22:37 -04: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
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
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
ee56c93f16 Remove old lines from class.js. 2009-02-28 04:36:44 -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
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
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
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
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
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
Tobie Langel
1d617df4df Avoid using arguments.callee in string.js. 2008-12-11 17:05:24 +01:00
Tobie Langel
7f6b3e81a2 Overwrite Array#concat method for handling the arguments object in Opera. 2008-12-11 17:03:10 +01:00
Tobie Langel
1395330440 Fix Array errors in Opera. 2008-12-11 17:00:45 +01:00
Tobie Langel
e5f7cac36f Avoid shadowing named functions. 2008-12-11 16:55:02 +01:00
Andrew Dupont
1324e4abe0 Refactored class.js. 2008-12-11 12:06:22 +01:00