Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ef85fc2af4 | |||
| e52bf6ae3f | |||
| 7b0811327b |
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@ijl/ltemplates",
|
"name": "@ijl/ltemplates",
|
||||||
"version": "1.4.2",
|
"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.4.2",
|
"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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user