-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move the default values to a separate file. Fix #85
- Loading branch information
1 parent
3264a85
commit 41fa81c
Showing
5 changed files
with
55 additions
and
13 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/** | ||
* The default value for the `maxPathLen` option | ||
*/ | ||
export const MAX_PATH_LEN = 1000 | ||
|
||
/** | ||
* The default value for the `maxRefDepth` option | ||
*/ | ||
export const MAX_REF_DEPTH = 10 | ||
|
||
/** | ||
* The default value for the `tags` option | ||
*/ | ||
export const TAGS = Object.freeze(['{{', '}}']) | ||
|
||
/** | ||
* @internal | ||
* The size of the tokenize cache | ||
*/ | ||
export const CACHE_SIZE = 100 |
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
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
export * from './compile' | ||
export * from './defaults' | ||
export * from './get' | ||
export * from './parse' | ||
export * from './tokenize' | ||
export * from './compile' | ||
export * from './render' | ||
export * from './tokenize' | ||
export * from './transform' |
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
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