forked from josdejong/jsoneditor
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update built artifacts with fix from 48408f4
- Loading branch information
1 parent
48408f4
commit fe459e6
Showing
6 changed files
with
32 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ | |
* | ||
* @author Jos de Jong, <[email protected]> | ||
* @version 5.5.7 | ||
* @date 2016-08-17 | ||
* @date 2016-09-22 | ||
*/ | ||
(function webpackUniversalModuleDefinition(root, factory) { | ||
if(typeof exports === 'object' && typeof module === 'object') | ||
|
@@ -2702,6 +2702,12 @@ return /******/ (function(modules) { // webpackBootstrap | |
} | ||
|
||
var value = jsonPath.substring(1, end); | ||
if (value[0] === '\'') { | ||
// ajv produces string prop names with single quotes, so we need | ||
// to reformat them into valid double-quoted JSON strings | ||
value = '\"' + value.substring(1, value.length - 1) + '\"'; | ||
} | ||
|
||
prop = value === '*' ? value : JSON.parse(value); // parse string and number | ||
remainder = jsonPath.substr(end + 1); | ||
} | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ | |
* | ||
* @author Jos de Jong, <[email protected]> | ||
* @version 5.5.7 | ||
* @date 2016-08-17 | ||
* @date 2016-09-22 | ||
*/ | ||
(function webpackUniversalModuleDefinition(root, factory) { | ||
if(typeof exports === 'object' && typeof module === 'object') | ||
|
@@ -10601,6 +10601,12 @@ return /******/ (function(modules) { // webpackBootstrap | |
} | ||
|
||
var value = jsonPath.substring(1, end); | ||
if (value[0] === '\'') { | ||
// ajv produces string prop names with single quotes, so we need | ||
// to reformat them into valid double-quoted JSON strings | ||
value = '\"' + value.substring(1, value.length - 1) + '\"'; | ||
} | ||
|
||
prop = value === '*' ? value : JSON.parse(value); // parse string and number | ||
remainder = jsonPath.substr(end + 1); | ||
} | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.