Skip to content

Commit ef8339b

Browse files
committed
Add constants
1 parent 528ed2c commit ef8339b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/constants.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/* Symbol for joining coordinates.
2+
* Earlier, a hyphen (-) was used. But that caused problems when
3+
* object keys had hyphen in them. So, we're switching to a less
4+
* commonly used symbol.
5+
*/
6+
export const JOIN_SYMBOL = '§';
7+
8+
/* HTML field name prefix */
9+
export const FIELD_NAME_PREFIX = 'rjf';
10+
11+
/* Filler item for arrays to make them at least minItems long */
12+
export const FILLER = '__RJF_FILLER__';

0 commit comments

Comments
 (0)