1
0
Fork 0
mirror of https://github.com/Oreolek/raconteur.git synced 2024-05-02 00:49:20 +03:00

Changed to using global Undum

This commit is contained in:
Bruno Dias 2015-04-13 01:20:57 -03:00
parent 700a0711ac
commit f8bd2b8c9f
2 changed files with 5 additions and 2 deletions

View file

@ -6,7 +6,8 @@
groups as objects, which contain qualities that themselves hold definitions.
*/
var undum = require('undum-commonjs');
var situation = require('./situation.js');
situation.exportUndum();
var qualities = function (spec) {
Object.keys(spec).forEach(function(group) {

View file

@ -240,5 +240,7 @@ module.exports = function (name, spec) {
};
module.exports.exportUndum = function () {
global.undum = undum;
if (!global.undum) {
global.undum = undum;
}
};