Comparing version 2.0.5 to 3.0.0
@@ -0,1 +1,9 @@ | ||
3.0.0 / 2013-06-18 | ||
------------------ | ||
* Completely rewritten syntax parser (jison -> pegjs) | ||
* Improved error reporting | ||
* Multiple fixes | ||
2.0.5 / 2013-02-16 | ||
@@ -2,0 +10,0 @@ ------------------ |
@@ -48,3 +48,3 @@ /** internal, section: Plugins | ||
} catch (err) { | ||
callback(err); | ||
callback(err + ' [' + file + ':' + err.line + ',' + err.column + ']'); | ||
return; | ||
@@ -51,0 +51,0 @@ } |
@@ -53,3 +53,3 @@ /** internal, section: Plugins | ||
var marked_highlight = function (code, lang) { | ||
if (lang) { | ||
if (lang && hljs.LANGUAGES[lang]) { | ||
return hljs.highlight(lang, code).value; | ||
@@ -56,0 +56,0 @@ } else { |
{ | ||
"name" : "ndoc", | ||
"version" : "2.0.5", | ||
"version" : "3.0.0", | ||
"description" : "JavaScript API documentor with simple syntax.", | ||
@@ -10,6 +10,6 @@ "keywords" : [ | ||
"author" : "Vladimir Dronnikov <dronnikov@gmail.com>", | ||
"constributors" : [ | ||
"Vitaly Puzrin <vitaly@rcdesign.ru> (http://rcdesign.ru)", | ||
"Aleksey V Zapparov <ixti@member.fsf.org> (http://www.ixti.net/)" | ||
"Aleksey V Zapparov <ixti@member.fsf.org> (http://www.ixti.net/)", | ||
"Vitaly Miniahmetov <kayo@illumium.org>" | ||
], | ||
@@ -40,3 +40,6 @@ | ||
}, | ||
"devDependencies" : { "jison": "~0.3.0" }, | ||
"devDependencies" : { | ||
"jison": "~0.3.0", | ||
"pegjs": "~0.7.0" | ||
}, | ||
"engines" : { "node": ">= 0.6.0" }, | ||
@@ -43,0 +46,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
568719
68
14269
22
2
1