Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly support use from Meteor packages
- Loading branch information
Showing
3 changed files
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
// s will be picked up by Meteor and exported | ||
s = module.exports; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Defining this will trick dist/underscore.string.js into putting its exports into module.exports | ||
// Credit to Tim Heckel for this trick - see https://github.com/TimHeckel/meteor-underscore-string | ||
module = {}; | ||
|
||
// This also needed, otherwise above doesn't work??? | ||
exports = {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters