Comparing version 0.3.50 to 0.3.51
@@ -422,2 +422,7 @@ #Change Log | ||
* Fixed tests for windows. | ||
* Changed gengojs's description. | ||
* Changed gengojs's description. | ||
**0.3.51** | ||
* Updated readme | ||
* Fixed weird log/debug (cout) when loading locales. | ||
* Updated node modules. |
@@ -5,3 +5,3 @@ /*jslint node: true, forin: true, jslint white: true, newcap: true*/ | ||
* gengojs | ||
* version : 0.3.50 | ||
* version : 0.3.51 | ||
* author : Takeshi Iwana aka iwatakeshi | ||
@@ -25,3 +25,3 @@ * https://github.com/iwatakeshi | ||
lib, | ||
VERSION = '0.3.50', | ||
VERSION = '0.3.51', | ||
//gengo modules | ||
@@ -28,0 +28,0 @@ config = require('./modules/config.js'), |
@@ -47,3 +47,2 @@ /*jslint node: true, forin: true, jslint white: true, newcap: true*/ | ||
locales[locale] = getJSON(locale); | ||
cout("module: load fn: getJSON, " + localemap.gengo[locale] + ".json" + " loaded successfully.").info(); | ||
return locales[locale]; | ||
@@ -68,2 +67,3 @@ } | ||
if (json) { | ||
cout("module: load fn: getJSON, " + localemap.gengo[locale] + ext + " loaded successfully.").info(); | ||
cout(JSON.stringify(json, null, 2)).data(); | ||
@@ -84,2 +84,3 @@ return sanitize(json); | ||
if (json) { | ||
cout("module: load fn: getJSON, " + localemap.gengo[locale] + ext + " loaded successfully.").info(); | ||
cout(JSON.stringify(json, null, 2)).data(); | ||
@@ -86,0 +87,0 @@ return sanitize(json); |
{ | ||
"name": "gengojs", | ||
"version": "0.3.50", | ||
"version": "0.3.51", | ||
"description": "The best and simple i18n library for Express 4 and Sails.js", | ||
@@ -47,3 +47,3 @@ "main": "gengo.js", | ||
"cookie-parser": "^1.3.3", | ||
"express": "^4.9.7", | ||
"express": "^4.9.8", | ||
"mocha": "^1.21.5", | ||
@@ -50,0 +50,0 @@ "prompt": "^0.2.14", |
@@ -69,44 +69,2 @@ Gengo.js | ||
**0.3.40** | ||
* Added travis ci, dependency badge, and travis badge and other badges. | ||
* Fixed langs.js map file. Added tests for `language()`, `getLocale()`, `setLocale()` | ||
**0.3.41** | ||
* Added more custom markdown syntax such as superscript. | ||
* Removed a few markdown syntaxes that may become a conflict with mustache syntax. | ||
* Replaced comparison method in loader module. It should compare json objects. If the objects are different then update the cache. | ||
**0.3.42** | ||
* Apologies. Removed comparison method and replaced with underscore's after I realized underscore had their own. | ||
* Also auto-cache* feature now works for both .json and .js files. Meaning you can update your dictionary live in production and development. Gengo updates the cache only if the files have been updated. | ||
**0.3.43** | ||
* Updated English docs for gengojs-site. | ||
* Added keyword to package.json | ||
**0.3.44** | ||
* Improved config module for gengo | ||
* Replaced underscore with lodash. | ||
* Removed utils module and replaced with regex.js. | ||
* Replaced sails app. I will add more templates later. | ||
**0.3.45** | ||
* Added sails app with jade. | ||
* gengo now has two sails apps that runs perfectly. One with EJS and the other with Jade. (Tried creating hbs app but sails seem to fail? I must have done something wrong. But it should work with most templating engines.) | ||
* Updated readme | ||
**0.3.46** | ||
* Fixed readme | ||
**0.3.47** | ||
* Updated dependencies | ||
**0.3.48** | ||
@@ -131,2 +89,12 @@ | ||
**0.3.50** | ||
* Fixed tests for windows. | ||
* Changed gengojs's description. | ||
**0.3.51** | ||
* Updated readme | ||
* Fixed weird log/debug (cout) when loading locales. | ||
* Updated node modules. | ||
###Notes | ||
@@ -133,0 +101,0 @@ |
Sorry, the diff of this file is not supported yet
11845
739555
147