larvitcms
Advanced tools
Comparing version 0.2.5 to 0.2.6
@@ -60,3 +60,3 @@ 'use strict'; | ||
if (fieldName === 'slug') | ||
res.globalData.formFields[field] = _.trimEnd(res.globalData.formFields[field], '/'); | ||
res.globalData.formFields[field] = _.trimRight(res.globalData.formFields[field], '/'); | ||
@@ -63,0 +63,0 @@ saveObj.langs[lang][fieldName] = res.globalData.formFields[field]; |
@@ -27,3 +27,3 @@ 'use strict'; | ||
tasks.push(function(cb) { | ||
cms.saveSnippet({'slug': _.trimEnd(slug, '/'), 'lang': lang, 'body': body}, cb); | ||
cms.saveSnippet({'slug': _.trimRight(slug, '/'), 'lang': lang, 'body': body}, cb); | ||
}); | ||
@@ -30,0 +30,0 @@ } |
104
package.json
{ | ||
"author": { | ||
"name": "Mikael 'Lilleman' Göransson", | ||
"email": "lilleman@larvit.se", | ||
"url": "http://larvit.se" | ||
}, | ||
"private": false, | ||
"dependencies": { | ||
"async": "^1", | ||
"larvitdb": "^0.4", | ||
"larvitslugify": "^0.10", | ||
"lodash": "^4", | ||
"randomstring": "^1", | ||
"winston": "^2" | ||
}, | ||
"description": "Simple blog module with admin GUI for larvitadmingui", | ||
"devDependencies": { | ||
"mocha": "^2", | ||
"pre-git": "^3" | ||
}, | ||
"pre-commit": [ | ||
"npm test", | ||
"eslint ./" | ||
], | ||
"keywords": [ | ||
"blog" | ||
], | ||
"main": "cms.js", | ||
"name": "larvitcms", | ||
"repository": { | ||
"url": "https://github.com/larvit/larvitcms", | ||
"type": "git" | ||
}, | ||
"version": "0.2.5", | ||
"readmeFilename": "README.md", | ||
"bugs": { | ||
"url": "https://github.com/larvit/larvitcms/issues" | ||
}, | ||
"homepage": "https://github.com/larvit/larvitcms", | ||
"scripts": { | ||
"test": "mocha" | ||
}, | ||
"license": "MIT", | ||
"maintainers": [{ | ||
"name": "lilleman", | ||
"email": "lilleman@larvit.se" | ||
}] | ||
"author": { | ||
"name": "Mikael 'Lilleman' Göransson", | ||
"email": "lilleman@larvit.se", | ||
"url": "http://larvit.se" | ||
}, | ||
"private": false, | ||
"dependencies": { | ||
"async": "^1.5.2", | ||
"larvitdb": "^0.4.1", | ||
"larvitslugify": "^0.10.7", | ||
"lodash": "^4.0.1", | ||
"randomstring": "^1.1.3", | ||
"winston": "^2.1.1" | ||
}, | ||
"description": "Simple blog module with admin GUI for larvitadmingui", | ||
"devDependencies": { | ||
"mocha": "^2.4.2", | ||
"pre-git": "^3.3.0" | ||
}, | ||
"pre-commit": [ | ||
"npm test", | ||
"eslint ./" | ||
], | ||
"keywords": [ | ||
"blog" | ||
], | ||
"main": "cms.js", | ||
"name": "larvitcms", | ||
"repository": { | ||
"url": "https://github.com/larvit/larvitcms", | ||
"type": "git" | ||
}, | ||
"version": "0.2.6", | ||
"readmeFilename": "README.md", | ||
"bugs": { | ||
"url": "https://github.com/larvit/larvitcms/issues" | ||
}, | ||
"homepage": "https://github.com/larvit/larvitcms", | ||
"scripts": { | ||
"test": "mocha", | ||
"commit": "commit-wizard" | ||
}, | ||
"license": "MIT", | ||
"maintainers": [ | ||
{ | ||
"name": "lilleman", | ||
"email": "lilleman@larvit.se" | ||
} | ||
], | ||
"config": { | ||
"pre-git": { | ||
"commit-msg": [], | ||
"pre-commit": [], | ||
"pre-push": [], | ||
"post-commit": [], | ||
"post-merge": [] | ||
} | ||
} | ||
} |
26634
Updatedasync@^1.5.2
Updatedlarvitdb@^0.4.1
Updatedlarvitslugify@^0.10.7
Updatedlodash@^4.0.1
Updatedrandomstring@^1.1.3
Updatedwinston@^2.1.1