Skip to content

Commit

Permalink
add alias
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitskvmdam committed Feb 8, 2023
1 parent 3c2270f commit c2fa521
Show file tree
Hide file tree
Showing 37 changed files with 209 additions and 48 deletions.
74 changes: 74 additions & 0 deletions demo/src/NamespaceWithAlias.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
function create_public_interface(obj) {
/**
* @namespace obj.map
*/
const map = obj.map;

/**
* Sample function that does nothing
* @memberOf obj.map
* @function
*/
map.start = function () {}
/**
* This is an alias. It's original name is start9
* @memberOf obj.map
* @function
* @alias obj.map.aliasOfStart9
*/
map.start9 = function () {}
/**
* Sample function that does nothing
* @memberOf obj.map
* @function
*/
map.start1 = function () {}
/**
* Sample function that does nothing
* @memberOf obj.map
* @function
*/
map.start2 = function () {}
/**
* Sample function that does nothing
* @memberOf obj.map
* @function
*/
map.start3 = function () {}
/**
* Sample function that does nothing
* @memberOf obj.map
* @function
*/
map.start4 = function () {}
/**
* Sample function that does nothing
* @memberOf obj.map
* @function
*/
map.start5 = function () {}
/**
* Sample function that does nothing
* @memberOf obj.map
* @function
*/
map.start6 = function () {}
/**
* Sample function that does nothing
* @memberOf obj.map
* @function
*/
map.start7 = function () {}
/**
* Sample function that does nothing
* @memberOf obj.map
* @function
*/
map.start8 = function () {}
/**
* Sample function that does nothing
* @memberOf obj.map
* @function
*/
map.start0 = function () {}
}
4 changes: 2 additions & 2 deletions output/v4/Alive.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions output/v4/Alive.js.html

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions output/v4/AliveAlias.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions output/v4/Apple.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions output/v4/Apple.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions output/v4/Database.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion output/v4/Energy.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions output/v4/Energy.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion output/v4/Environment.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions output/v4/Environment.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions output/v4/HideConstructor.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions output/v4/Modules.js.html

Large diffs are not rendered by default.

77 changes: 77 additions & 0 deletions output/v4/NamespaceWithAlias.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions output/v4/Statement.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion output/v4/StatementIterator.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion output/v4/Test.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions output/v4/Tree.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions output/v4/Tree.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions output/v4/World.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions output/v4/World.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions output/v4/api.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion output/v4/data/search.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion output/v4/global.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions output/v4/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion output/v4/module-SqlJs.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion output/v4/module-bookshelf.Book.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion output/v4/module-bookshelf.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion output/v4/module-color_mixer.html

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions output/v4/obj.map.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion output/v4/pieOptions.html

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions output/v4/tutorial-Alive.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion output/v4/tutorial-Alive_.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion output/v4/tutorial-Apple_.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion output/v4/tutorial-Environment_.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion output/v4/tutorial-Other.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion output/v4/tutorial-new.html

Large diffs are not rendered by default.

0 comments on commit c2fa521

Please sign in to comment.