Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 67ee6ae

Browse files
authoredOct 1, 2016
Merge pull request #6 from PunxNotDead/patch-1
Defining html variable
2 parents 564a31d + 191f9ff commit 67ee6ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎json-viewer/jquery.json-viewer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* @return string
2727
*/
2828
function json2html(json, options) {
29-
html = '';
29+
var html = '';
3030
if (typeof json === 'string') {
3131
// Escape tags
3232
json = json.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;');

0 commit comments

Comments
 (0)
Please sign in to comment.