Work in progress on introducing tag language. Not tested yet.
This commit is contained in:
parent
450b930cc5
commit
00e328a914
21 changed files with 2154 additions and 1909 deletions
File diff suppressed because it is too large
Load diff
|
@ -1,5 +1,12 @@
|
|||
'use strict';
|
||||
|
||||
const TagLanguages = {
|
||||
SIMPLE: 'simple',
|
||||
HBS: 'hbs'
|
||||
};
|
||||
|
||||
const allTagLanguages = [TagLanguages.SIMPLE, TagLanguages.HBS];
|
||||
|
||||
function _getBases(trustedBaseUrl, sandboxBaseUrl, publicBaseUrl) {
|
||||
if (trustedBaseUrl.endsWith('/')) {
|
||||
trustedBaseUrl = trustedBaseUrl.substring(0, trustedBaseUrl.length - 1);
|
||||
|
@ -58,5 +65,7 @@ function unbase(text, trustedBaseUrl, sandboxBaseUrl, publicBaseUrl, treatAllAsP
|
|||
module.exports = {
|
||||
base,
|
||||
unbase,
|
||||
getMergeTagsForBases
|
||||
getMergeTagsForBases,
|
||||
TagLanguages,
|
||||
allTagLanguages
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue