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:
c35d095
)
JSDOC/PrettyPrint.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 30 Jun 2010 08:38:55 +0000
(16:38 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 30 Jun 2010 08:38:55 +0000
(16:38 +0800)
JSDOC/PrettyPrint.js
patch
|
blob
|
history
diff --git
a/JSDOC/PrettyPrint.js
b/JSDOC/PrettyPrint.js
index
22564a5
..
1f99003
100644
(file)
--- a/
JSDOC/PrettyPrint.js
+++ b/
JSDOC/PrettyPrint.js
@@
-5,6
+5,15
@@
TokenReader = imports.TokenReader.TokenReader;
ScopeParser= imports.ScopeParser.ScopeParser;
TokenStream = imports.TokenStream.TokenStream;
ScopeParser= imports.ScopeParser.ScopeParser;
TokenStream = imports.TokenStream.TokenStream;
+function escapeHTML() {
+ return(
+ this.replace(/&/g,'&').
+ replace(/>/g,'>').
+ replace(/</g,'<').
+ replace(/"/g,'"')
+ );
+};
+
function toPretty(str)
{
var tr = new TokenReader();
function toPretty(str)
{
var tr = new TokenReader();
@@
-66,11
+75,3
@@
function toPretty(str)
}
}
-function escapeHTML() {
- return(
- this.replace(/&/g,'&').
- replace(/>/g,'>').
- replace(/</g,'<').
- replace(/"/g,'"')
- );
-};
\ No newline at end of file