mirror of
https://github.com/skishore/makemeahanzi.git
synced 2025-11-10 23:40:28 +08:00
Get codePointAt/fromCodePoint working on the server
This commit is contained in:
@@ -8,3 +8,7 @@ this.assert = (condition, message) => {
|
||||
}
|
||||
|
||||
this.maybeRequire = (module) => Meteor.isServer ? Npm.require(module) : null;
|
||||
|
||||
if (Meteor.isServer) {
|
||||
Meteor.npmRequire('es6-shim');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user