summaryrefslogtreecommitdiffstats
path: root/lib/output/website
diff options
context:
space:
mode:
Diffstat (limited to 'lib/output/website')
-rw-r--r--lib/output/website/state.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/output/website/state.js b/lib/output/website/state.js
index 99e7f04..cb8f750 100644
--- a/lib/output/website/state.js
+++ b/lib/output/website/state.js
@@ -2,11 +2,18 @@ var I18n = require('i18n-t');
var Immutable = require('immutable');
var GeneratorState = Immutable.Record({
- i18n: I18n()
+ i18n: I18n(),
+
+ // List of plugins' resources
+ resources: Immutable.Map()
});
GeneratorState.prototype.getI18n = function() {
return this.get('i18n');
};
+GeneratorState.prototype.getResources = function() {
+ return this.get('resources');
+};
+
module.exports = GeneratorState;