8 Commits

Author SHA1 Message Date
87d40f1116 1.5.1 2023-02-24 16:01:16 +03:00
3fce369336 app tag before script 2023-02-24 16:01:08 +03:00
ef85fc2af4 1.5.0 2022-02-08 23:58:25 +03:00
e52bf6ae3f Merged in feature/pretty-print (pull request #2)
Добавил переносов строк и пробелов в сериализацию конфигурации на страницу
2022-02-08 20:56:52 +00:00
7b0811327b Добавил переносов строк и пробелов в сериализацию конфигурации на страницу 2022-02-07 23:41:03 +03:00
fae0236e66 1.4.2 2021-12-16 12:40:54 +03:00
Andrey Vlasov
ef6a015d9f 1.4.1 2020-12-06 21:54:53 +03:00
Andrey Vlasov
860f918d78 hotfix 2020-12-06 21:54:40 +03:00
6 changed files with 6 additions and 6 deletions

2
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{ {
"name": "@ijl/ltemplates", "name": "@ijl/ltemplates",
"version": "1.4.0", "version": "1.5.1",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@@ -1,6 +1,6 @@
{ {
"name": "@ijl/templates", "name": "@ijl/templates",
"version": "1.4.0", "version": "1.5.1",
"description": "Templates library for @ijl projects", "description": "Templates library for @ijl projects",
"main": "src/index.js", "main": "src/index.js",
"scripts": { "scripts": {

View File

@@ -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
} }

View File

@@ -7,9 +7,9 @@
</head> </head>
<body> <body>
<div id="app"></div>
<script src="{{baseUrl}}/fire.app/{{fireappVersion}}/dist/index.js"></script> <script src="{{baseUrl}}/fire.app/{{fireappVersion}}/dist/index.js"></script>
{{>"partials/scripts.hbs"}} {{>"partials/scripts.hbs"}}
<div id="app"></div>
</body> </body>
</html> </html>

View File

@@ -7,9 +7,9 @@
</head> </head>
<body> <body>
<div id="app"></div>
<script src="{{baseUrl}}/fire.app/{{fireappVersion}}/index.js"></script> <script src="{{baseUrl}}/fire.app/{{fireappVersion}}/index.js"></script>
{{>"partials/scripts.hbs"}} {{>"partials/scripts.hbs"}}
<div id="app"></div>
</body> </body>
</html> </html>

View File

@@ -2,7 +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 }}} features: {{{ toJSON features }}}
}) })
</script> </script>