mirror of
https://github.com/donl/JSON-js.git
synced 2026-05-25 22:06:23 -06:00
?:
This commit is contained in:
parent
58df70e97f
commit
9139a9f672
1 changed files with 3 additions and 3 deletions
6
cycle.js
6
cycle.js
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
cycle.js
|
||||
2017-06-12
|
||||
2018-05-15
|
||||
|
||||
Public Domain.
|
||||
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
// The file uses the WeakMap feature of ES6.
|
||||
|
||||
/*jslint es6, eval */
|
||||
/*jslint eval */
|
||||
|
||||
/*property
|
||||
$ref, decycle, forEach, get, indexOf, isArray, keys, length, push,
|
||||
|
|
@ -141,7 +141,7 @@ if (typeof JSON.retrocycle !== "function") {
|
|||
// return JSON.retrocycle(JSON.parse(s));
|
||||
// produces an array containing a single element which is the array itself.
|
||||
|
||||
var px = /^\$(?:\[(?:\d+|"(?:[^\\"\u0000-\u001f]|\\([\\"\/bfnrt]|u[0-9a-zA-Z]{4}))*")\])*$/;
|
||||
var px = /^\$(?:\[(?:\d+|"(?:[^\\"\u0000-\u001f]|\\(?:[\\"\/bfnrt]|u[0-9a-zA-Z]{4}))*")\])*$/;
|
||||
|
||||
(function rez(value) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue