Browse Source

Removes unused code in boot.js

Nicolas Petton 11 years ago
parent
commit
65f8d710ae
1 changed files with 0 additions and 22 deletions
  1. 0 22
      support/boot.js

+ 0 - 22
support/boot.js

@@ -517,28 +517,6 @@ function ClassesBrik(brikz, st) {
 		return packages;
 	};
 
-	/* Answer the direct subclasses of klass. */
-
-	// st.subclasses = function(klass) {
-	// 	var subclasses = [];
-	// 	var classes = st.classes();
-	// 	for(var i=0; i < classes.length; i++) {
-	// 		var c = classes[i];
-	// 		if(c.fn) {
-	// 			//Classes
-	// 			if(c.superclass === klass) {
-	// 				subclasses.push(c);
-	// 			}
-	// 			c = c.klass;
-	// 			//Metaclasses
-	// 			if(c && c.superclass === klass) {
-	// 				subclasses.push(c);
-	// 			}
-	// 		}
-	// 	}
-	// 	return subclasses;
-	// };
-
 	// Still used, but could go away now that subclasses are stored
 	// into classes directly.
 	st.allSubclasses = function(klass) {