can generate jsdoc; private methods marked as such
[dygraphs.git] / jsdoc-toolkit / app / test / module.js
diff --git a/jsdoc-toolkit/app/test/module.js b/jsdoc-toolkit/app/test/module.js
new file mode 100644 (file)
index 0000000..5b3fe42
--- /dev/null
@@ -0,0 +1,17 @@
+/** @namespace */
+myProject = myProject || {};
+
+/** @namespace */
+myProject.myModule = (function () {
+       /** describe myPrivateVar here */
+       var myPrivateVar = "";
+
+       var myPrivateMethod = function () {
+       }
+
+       /** @scope myProject.myModule */
+       return {
+               myPublicMethod: function () {
+               }
+       };
+})();
\ No newline at end of file