Comparing version 3.3.0-beta2 to 3.3.0-beta3
@@ -46,3 +46,2 @@ /** | ||
name: { | ||
type: STRING, | ||
optional: true | ||
@@ -49,0 +48,0 @@ }, |
@@ -285,2 +285,7 @@ // TODO: docs | ||
// property names with unsafe characters must be quoted | ||
if ( !/^[$_a-zA-Z0-9]*$/.test(info.name) ) { | ||
info.name = '"' + String(info.name).replace(/"/g, '\\"') + '"'; | ||
} | ||
if ( isAccessor(node) ) { | ||
@@ -287,0 +292,0 @@ info.type = nodeToValue(info.node); |
@@ -255,3 +255,3 @@ /** | ||
// otherwise, get the symbol name from the code | ||
else if (e.code && e.code.name) { | ||
else if (e.code && typeof e.code.name !== 'undefined' && e.code.name !== '') { | ||
newDoclet.addTag('name', e.code.name); | ||
@@ -258,0 +258,0 @@ if (!newDoclet.memberof) { |
@@ -41,3 +41,3 @@ /*global env: true */ | ||
opts = opts || {}; | ||
text = text || ''; | ||
text = String(typeof text !== 'undefined' ? text : ''); | ||
@@ -44,0 +44,0 @@ if ( mustPreserveWhitespace(text, meta) ) { |
@@ -324,4 +324,5 @@ /*global env: true */ | ||
// handle complex type expressions that may require multiple links | ||
// (but skip anything that looks like an inline tag) | ||
else if (longname && isComplexTypeExpression(longname) && /\{\@.+\}/.test(longname) === false) { | ||
// (but skip anything that looks like an inline tag or HTML tag) | ||
else if (longname && isComplexTypeExpression(longname) && /\{\@.+\}/.test(longname) === false && | ||
/^<[\s\S]+>/.test(longname) === false) { | ||
parsedType = parseType(longname); | ||
@@ -328,0 +329,0 @@ return stringifyType(parsedType, options.cssClass, options.linkMap); |
{ | ||
"name": "jsdoc", | ||
"version": "3.3.0-beta2", | ||
"revision": "1425750890875", | ||
"version": "3.3.0-beta3", | ||
"revision": "1426697054695", | ||
"description": "An API documentation generator for JavaScript.", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1490172
123
11538