Comparing version 1.0.1 to 1.1.0
{ | ||
"name": "i18njs", | ||
"main": "i18njs.js", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"homepage": "https://github.com/yoannmoinet/i18njs", | ||
@@ -6,0 +6,0 @@ "authors": [ |
@@ -1,13 +0,7 @@ | ||
(function (root, factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
// AMD. Register as an anonymous module. | ||
define(['exports'], factory); | ||
} else if (typeof exports === 'object') { | ||
// CommonJS | ||
factory(exports); | ||
} else { | ||
// Browser globals | ||
factory((root.commonJsStrict = {})); | ||
} | ||
}(this, function (exports) { | ||
if (typeof exports === 'object' && typeof define !== 'function') { | ||
var define = function (factory) { | ||
factory(require, exports, module); | ||
}; | ||
} | ||
define(function (require, exports, module) { | ||
var lng = 'en'; | ||
@@ -136,3 +130,4 @@ /*-------------------------------------------*\ | ||
}; | ||
return new I18n(); | ||
})); | ||
module.exports = new I18n(); | ||
return module.exports; | ||
}); |
{ | ||
"name": "i18njs", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "A simple i18n for Javascript with a templating feature.", | ||
@@ -5,0 +5,0 @@ "main": "i18njs.js", |
16148
158