mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-18 08:35:10 +00:00
13 lines
251 B
JavaScript
13 lines
251 B
JavaScript
var I18n = require('i18n-t');
|
|
var Immutable = require('immutable');
|
|
|
|
var GeneratorState = Immutable.Record({
|
|
i18n: I18n()
|
|
});
|
|
|
|
GeneratorState.prototype.getI18n = function() {
|
|
return this.get('i18n');
|
|
};
|
|
|
|
module.exports = GeneratorState;
|