sbin/res/app/test/functions_anon.js
branchjsdoc
changeset 520 fe008e95a716
parent 519 46e21d060650
child 521 df716b99c5bb
child 522 2b1a07f1d797
--- a/sbin/res/app/test/functions_anon.js	Fri Dec 23 10:59:23 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-/** an anonymous constructor executed inline */
-a = new function() {
-	/** a.b*/
-    this.b = 1;
-    /** a.f */
-    this.f = function() {
-    	/** a.c */
-    	this.c = 2;
-    }
-}
-
-
-/**
-	named function executed inline
-*/
-bar1 = function Zoola1() {
-	/** property of global */
-	this.g = 1;
-}();
-
-/**
-	named constructor executed inline
-*/
-bar2 = new function Zoola2() {
-	/** property of bar */
-	this.p = 1;
-};
-
-/** module pattern */
-module = (function () {
-	/** won't appear in documentation */
-	var priv = 1;
-	
-	/** @scope module */
-	return {
-		/** will appear as a property of module */
-		pub: 1
-	}
-})();