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", "name": "@ijl/ltemplates",
"version": "1.7.1", "version": "1.2.2",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@ijl/templates", "name": "@ijl/templates",
"version": "1.7.1", "version": "1.2.2",
"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, null, 4) return JSON.stringify(obj)
} }
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

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

View File

@ -2,7 +2,6 @@
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>

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>