-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
907 additions
and
191 deletions.
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
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
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 |
---|---|---|
@@ -1,8 +1,12 @@ | ||
/* global Package */ | ||
export const InjectData = {}; | ||
export let InjectData: { | ||
getData: (key: string, callback: (data: any) => any) => void; | ||
}; | ||
|
||
InjectData = {}; | ||
// Replace meteorhacks:inject-data with our new API, this is for compatibility | ||
// with third party packages that still depend upon the meteorhacks version. | ||
if (Package['meteorhacks:inject-data']) { | ||
Package['meteorhacks:inject-data'].InjectData = InjectData; | ||
} | ||
|
||
Meteor.User; |
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
Oops, something went wrong.