Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ef85fc2af4 | |||
| e52bf6ae3f | |||
| 7b0811327b | |||
| fae0236e66 | |||
|
|
ef6a015d9f | ||
|
|
860f918d78 | ||
|
|
9867ce976f | ||
|
|
6bc2da15c1 | ||
| 317a976241 | |||
| f4815e79c8 |
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@ijl/ltemplates",
|
"name": "@ijl/ltemplates",
|
||||||
"version": "1.3.1",
|
"version": "1.5.0",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@ijl/templates",
|
"name": "@ijl/templates",
|
||||||
"version": "1.3.1",
|
"version": "1.5.0",
|
||||||
"description": "Templates library for @ijl projects",
|
"description": "Templates library for @ijl projects",
|
||||||
"main": "src/index.js",
|
"main": "src/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ const registerPartialsWithExtensions = require('./utils/registerPartialsWithExte
|
|||||||
|
|
||||||
function toJSON (obj) {
|
function toJSON (obj) {
|
||||||
if (typeof obj === 'object') {
|
if (typeof obj === 'object') {
|
||||||
return JSON.stringify(obj)
|
return JSON.stringify(obj, null, 4)
|
||||||
}
|
}
|
||||||
return obj
|
return obj
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
fireapp({
|
fireapp({
|
||||||
apps: {{{ toJSON apps }}},
|
apps: {{{ toJSON apps }}},
|
||||||
navigations: {{{ toJSON navigations }}},
|
navigations: {{{ toJSON navigations }}},
|
||||||
config: {{{ toJSON config }}}
|
config: {{{ toJSON config }}},
|
||||||
|
features: {{{ toJSON features }}}
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
<title>{{title}}</title>
|
<title>{{title}}</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<script src="{{scriptUrl}}"></script>
|
|
||||||
<div id="{{appRootId}}"></div>
|
<div id="{{appRootId}}"></div>
|
||||||
|
<script src="{{scriptUrl}}"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
Reference in New Issue
Block a user