mirror of https://gitee.com/bigwinds/arangodb
The Foxx Comment preprocessor now trimes strings properly
This commit is contained in:
parent
a2e1e70d0f
commit
3a8fee211f
|
@ -128,7 +128,8 @@ extend(Preprocessor.prototype, {
|
|||
replace(/^(.*?)\*\/.*$/, '$1'). // end of JSDoc comment
|
||||
replace(/^\s*\*/, ''). // continuation of JSDoc comment
|
||||
replace(/\\/g, '\\\\'). // replace backslashes
|
||||
replace(/"/g, '\\"'); // replace quotes
|
||||
replace(/"/g, '\\"'). // replace quotes
|
||||
trim(); // remove leading and trailing spaces
|
||||
},
|
||||
|
||||
isJSDoc: function (str) {
|
||||
|
|
Loading…
Reference in New Issue