File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -421,13 +421,13 @@ function RendererOptions(options) {
421421 options = options || { } ;
422422 this . indentSize =
423423 options . indentSize ? this . _parseEmVal ( options . indentSize ) : 1.2 ;
424- this . commentDelimiter = options . commentDelimiter || ' // ' ;
425- this . lineNumberPunc = options . lineNumberPunc || ':' ;
424+ this . commentDelimiter = options . commentDelimiter !== undefined ? options . commentDelimiter : ' // ' ;
425+ this . lineNumberPunc = options . lineNumberPunc !== undefined ? options . lineNumberPunc : ':' ;
426426 this . lineNumber = options . lineNumber !== undefined ? options . lineNumber : false ;
427427 this . noEnd = options . noEnd !== undefined ? options . noEnd : false ;
428428 if ( options . captionCount !== undefined )
429429 Renderer . captionCount = options . captionCount ;
430- this . titlePrefix = options . titlePrefix || 'Algorithm' ;
430+ this . titlePrefix = options . titlePrefix !== undefined ? options . titlePrefix : 'Algorithm' ;
431431}
432432
433433RendererOptions . prototype . _parseEmVal = function ( emVal ) {
You can’t perform that action at this time.
0 commit comments