mirror of
https://github.com/redis/RedisDesktopManager.git
synced 2026-10-28 19:17:36 +08:00
Fix empty json after minify
https://github.com/getify/JSON.minify/issues/16
This commit is contained in:
@@ -104,6 +104,8 @@ var minify = function(json) {
|
||||
|
||||
tokenizer.lastIndex = 0;
|
||||
|
||||
json = json.concat("\n");
|
||||
|
||||
while (tmp = tokenizer.exec(json)) {
|
||||
lc = RegExp.leftContext;
|
||||
rc = RegExp.rightContext;
|
||||
|
||||
Reference in New Issue
Block a user