node-gettext-sprintf
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -51,3 +51,3 @@ var _ = require('lodash'); | ||
// domains: {es: contents-of-es.po, fr: contents-of-fr.po} etc | ||
function mfLanguage(domains, cb) { | ||
module.exports = function (domains, cb) { | ||
if(_.isEmpty(domains) || !_.isObject(domains)) | ||
@@ -60,3 +60,2 @@ return setImmediate(function() { cb(new Error('domains argument required')); }); | ||
var ret = | ||
cb(null, function (language) { | ||
@@ -70,3 +69,2 @@ return { | ||
}); | ||
} | ||
module.exports = mfLanguage; | ||
}; |
{ | ||
"name": "node-gettext-sprintf", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "A combination of node-gettext and sprintf", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
7177
101