mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-17 12:25:18 +00:00
js:add @namespace annotation to namespaces
This commit is contained in:
Binary file not shown.
@@ -2,22 +2,26 @@
|
||||
|
||||
/**
|
||||
* @const
|
||||
*/
|
||||
* @namespace
|
||||
*/
|
||||
var MyGame = MyGame || {};
|
||||
|
||||
/**
|
||||
* @const
|
||||
*/
|
||||
* @namespace
|
||||
*/
|
||||
MyGame.Example = MyGame.Example || {};
|
||||
|
||||
/**
|
||||
* @const
|
||||
*/
|
||||
* @namespace
|
||||
*/
|
||||
MyGame.Example2 = MyGame.Example2 || {};
|
||||
|
||||
/**
|
||||
* @const
|
||||
*/
|
||||
* @namespace
|
||||
*/
|
||||
MyGame.OtherNameSpace = MyGame.OtherNameSpace || {};
|
||||
|
||||
/**
|
||||
|
||||
@@ -2,12 +2,14 @@
|
||||
|
||||
/**
|
||||
* @const
|
||||
*/
|
||||
* @namespace
|
||||
*/
|
||||
var NamespaceA = NamespaceA || {};
|
||||
|
||||
/**
|
||||
* @const
|
||||
*/
|
||||
* @namespace
|
||||
*/
|
||||
NamespaceA.NamespaceB = NamespaceA.NamespaceB || {};
|
||||
|
||||
/**
|
||||
|
||||
@@ -2,17 +2,20 @@
|
||||
|
||||
/**
|
||||
* @const
|
||||
*/
|
||||
* @namespace
|
||||
*/
|
||||
var NamespaceA = NamespaceA || {};
|
||||
|
||||
/**
|
||||
* @const
|
||||
*/
|
||||
* @namespace
|
||||
*/
|
||||
NamespaceA.NamespaceB = NamespaceA.NamespaceB || {};
|
||||
|
||||
/**
|
||||
* @const
|
||||
*/
|
||||
* @namespace
|
||||
*/
|
||||
var NamespaceC = NamespaceC || {};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user