1
0
mirror of https://github.com/gabemart/hipku.git synced 2024-10-05 18:30:54 +01:00

Allow index.js to run in browser or in node

This commit is contained in:
gabemart 2016-09-02 17:36:25 +01:00
parent cf65e8bdfd
commit c4e7fd3598
3 changed files with 127 additions and 1641 deletions

1517
dist/hipku.js vendored

File diff suppressed because it is too large Load Diff

1
dist/hipku.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -1512,6 +1512,10 @@ verbs = ['aid',
'teach',
'tend'];
if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') {
module.exports = publicMethods;
} else {
return publicMethods;
}
})();