]> git.sesse.net Git - remoteglot/commitdiff
Re-add the local change to make json_delta work under node.js.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 20 Jun 2015 21:32:08 +0000 (23:32 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 20 Jun 2015 21:32:08 +0000 (23:32 +0200)
www/js/json_delta.js

index ab0c3e3c0784301df6ac5dc09327803e2d07d0b1..357fa7aba3e6b2439effb91320a95765acbb4840 100644 (file)
@@ -450,3 +450,6 @@ JSON_delta = {
         return struc;
     }
 };
+
+// node.js
+if (typeof exports !== 'undefined') exports.JSON_delta = JSON_delta;