projects
/
gnome.introspection-doc-generator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e3a6d9
)
JSDOC/PrettyPrint.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 6 Jul 2010 10:43:33 +0000
(18:43 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 6 Jul 2010 10:43:33 +0000
(18:43 +0800)
JSDOC/PrettyPrint.js
patch
|
blob
|
history
diff --git
a/JSDOC/PrettyPrint.js
b/JSDOC/PrettyPrint.js
index
71cda58
..
f97d193
100644
(file)
--- a/
JSDOC/PrettyPrint.js
+++ b/
JSDOC/PrettyPrint.js
@@
-7,13
+7,12
@@
TokenStream = imports.TokenStream.TokenStream;
TextStream = imports.TextStream.TextStream;
-function escapeHTML() {
- return(
- this.replace(/&/g,'&').
- replace(/>/g,'>').
- replace(/</g,'<').
- replace(/"/g,'"')
- );
+function escapeHTML(str) {
+ return
+ str.replace(/&/g,'&').
+ replace(/>/g,'>').
+ replace(/</g,'<').
+ replace(/"/g,'"');
};
function toPretty(str)