json-markup
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -6,3 +6,3 @@ var INDENT = ' '; | ||
if (Array.isArray(doc)) return 'array'; | ||
if (typeof doc === 'string' && /https?:/.test(doc)) return 'link'; | ||
if (typeof doc === 'string' && /^https?:/.test(doc)) return 'link'; | ||
@@ -9,0 +9,0 @@ return typeof doc; |
{ | ||
"name":"json-markup", | ||
"version":"0.1.4", | ||
"version":"0.1.5", | ||
"repository": "git://github.com/mafintosh/json-markup", | ||
@@ -5,0 +5,0 @@ "description":"a json to html syntax highlighter", |
4011