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