mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-21 13:18:53 +00:00
export moment and lodash in browser
This commit is contained in:
parent
516f947d9b
commit
517afd19a4
1 changed files with 5 additions and 0 deletions
|
|
@ -2,7 +2,12 @@ exports.algos = require('./algos.coffee');
|
|||
exports.items = require('./items.coffee');
|
||||
exports.helpers = require('./helpers.coffee');
|
||||
|
||||
var moment = require('moment');
|
||||
var _ = require('lodash');
|
||||
|
||||
try {
|
||||
window;
|
||||
window.habitrpgShared = exports;
|
||||
window._ = _;
|
||||
window.moment = moment;
|
||||
} catch(e) {}
|
||||
Loading…
Reference in a new issue