X-Git-Url: https://git.sesse.net/?p=remoteglot;a=blobdiff_plain;f=www%2Fjs%2Fjson_delta.js;h=357fa7aba3e6b2439effb91320a95765acbb4840;hp=ab0c3e3c0784301df6ac5dc09327803e2d07d0b1;hb=c22dc885ba5a973043a8e0964e29efb8e92c52e8;hpb=02844928f7c3c57c438a6a11cbe970c627e341ea diff --git a/www/js/json_delta.js b/www/js/json_delta.js index ab0c3e3..357fa7a 100644 --- a/www/js/json_delta.js +++ b/www/js/json_delta.js @@ -450,3 +450,6 @@ JSON_delta = { return struc; } }; + +// node.js +if (typeof exports !== 'undefined') exports.JSON_delta = JSON_delta;