This repository has been archived by the owner on May 1, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
4 changed files
with
89 additions
and
29 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
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,23 @@ | ||
/** | ||
* Ignore me because I have no annotation to hint that I'm in a public API. | ||
*/ | ||
function ignoreFn() { } | ||
|
||
/** | ||
* I'm explicitly global. | ||
* @global | ||
*/ | ||
function globalFn() { } | ||
|
||
/** | ||
* I'm in a namespace, so I'm probably part of a public API. | ||
* @memberof SomeNamespace | ||
*/ | ||
function memberofFn() { } | ||
|
||
/** | ||
* My @function annotation overrides my name. | ||
* @global | ||
* @function overrideNameFn | ||
*/ | ||
function wrongNameFn() { } |