forked from syndicate-lang/preserves
Global symbols
This commit is contained in:
parent
c1898ef73f
commit
5ab78e8281
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "preserves",
|
"name": "preserves",
|
||||||
"version": "0.0.9",
|
"version": "0.0.10",
|
||||||
"description": "Experimental data serialization format",
|
"description": "Experimental data serialization format",
|
||||||
"homepage": "https://gitlab.com/tonyg/preserves",
|
"homepage": "https://gitlab.com/tonyg/preserves",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
"use strict";
|
"use strict";
|
||||||
// Symbols for various Preserves protocols.
|
// Symbols for various Preserves protocols.
|
||||||
|
|
||||||
const PreserveOn = Symbol('PreserveOn');
|
const PreserveOn = Symbol.for('PreserveOn');
|
||||||
const AsPreserve = Symbol('AsPreserve');
|
const AsPreserve = Symbol.for('AsPreserve');
|
||||||
|
|
||||||
Object.assign(module.exports, {
|
Object.assign(module.exports, {
|
||||||
PreserveOn,
|
PreserveOn,
|
||||||
|
|
Loading…
Reference in New Issue