mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-21 11:45:46 +00:00
js:add @namespace annotation to namespaces
This commit is contained in:
@@ -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 || {};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user