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:
a7a2eca
)
JSDOC/DocTag.js
author
Alan Knowles
<alan@roojs.com>
Mon, 11 May 2015 12:07:20 +0000
(20:07 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 11 May 2015 12:07:20 +0000
(20:07 +0800)
JSDOC/DocTag.js
patch
|
blob
|
history
diff --git
a/JSDOC/DocTag.js
b/JSDOC/DocTag.js
index
2d5c9a2
..
b7f25ca
100644
(file)
--- a/
JSDOC/DocTag.js
+++ b/
JSDOC/DocTag.js
@@
-110,7
+110,7
@@
DocTag = XObject.define(
var m = src.match(/^\(([^)]+)\)/);
print(m);
if (m[1].match(/\|/)) {
- var opts = m[1].split(/\s*\|\s*/);
+ var opts = m[1].
trim().
split(/\s*\|\s*/);
this.optvalues = opts;
src = src.substring(m[0].length).trim();
print(src);