Well, using an analyzer may not always be ideal, as it requires an additional step of copying and pasting the code and all the others into the parser, and even then Iām not sure that it will catch what you want. The proven Javascript collaborative development solution is the namespace of your code.
var myNamespace = function (){ var myPrivateProperty; var myPrivateFunction = function(){}; return{ myPublicProperty: '', myPublicFunction: function(){} } }();
It is based on the Douglas Crockford module template .
Then you can call your public functions as follows:
myNamespace.myPublicFunction();
And your public properties:
myNamespace.myPublicProperty;
Each developer can develop in his own namespace so as not to step on the code of others.
picardo
source share