Compare commits

..

1 Commits

Author SHA1 Message Date
03e244b924 1.2.2 2020-04-05 17:47:05 +03:00
8 changed files with 8 additions and 26 deletions

2
package-lock.json generated
View File

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

View File

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

View File

@ -5,7 +5,7 @@ const registerPartialsWithExtensions = require('./utils/registerPartialsWithExte
function toJSON (obj) {
if (typeof obj === 'object') {
return JSON.stringify(obj, null, 4)
return JSON.stringify(obj)
}
return obj
}

View File

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

View File

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

View File

@ -1,8 +1,6 @@
<meta charset="UTF-8">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,600,700,900&amp;subset=cyrillic,cyrillic-ext"
rel="stylesheet" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<style>body {margin: 0; padding: 0;}</style>

View File

@ -2,7 +2,6 @@
fireapp({
apps: {{{ toJSON apps }}},
navigations: {{{ toJSON navigations }}},
config: {{{ toJSON config }}},
features: {{{ toJSON features }}}
config: {{{ toJSON config }}}
})
</script>

View File

@ -1,15 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,600,700,900&amp;subset=cyrillic,cyrillic-ext" rel="stylesheet" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<style>body {margin: 0; padding: 0;}</style>
<title>{{title}}</title>
</head>
<body>
<div id="{{appRootId}}"></div>
<script src="{{scriptUrl}}"></script>
</body>
</html>