|  | @@ -382,6 +382,7 @@ function Smalltalk(){
 | 
											
												
													
														|  |  	};
 |  |  	};
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  	/* Answer all registered Smalltalk classes */
 |  |  	/* Answer all registered Smalltalk classes */
 | 
											
												
													
														|  | 
 |  | +    //TODO: remove the function and make smalltalk.classes a simple property
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  	st.classes = function() {
 |  |  	st.classes = function() {
 | 
											
												
													
														|  |  		return classes;
 |  |  		return classes;
 | 
											
										
											
												
													
														|  | @@ -684,6 +685,7 @@ function Smalltalk(){
 | 
											
												
													
														|  |  	};
 |  |  	};
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      /* Convert a Smalltalk selector into a JS selector */
 |  |      /* Convert a Smalltalk selector into a JS selector */
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |      st.selector = function(string) {
 |  |      st.selector = function(string) {
 | 
											
												
													
														|  |          var selector = '_' + string;
 |  |          var selector = '_' + string;
 | 
											
												
													
														|  |  	    selector = selector.replace(/:/g, '_');
 |  |  	    selector = selector.replace(/:/g, '_');
 | 
											
										
											
												
													
														|  | @@ -754,6 +756,7 @@ function Smalltalk(){
 | 
											
												
													
														|  |  	};
 |  |  	};
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      /* Boolean assertion */
 |  |      /* Boolean assertion */
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |      st.assert = function(boolean) {
 |  |      st.assert = function(boolean) {
 | 
											
												
													
														|  |          if(boolean.klass === smalltalk.Boolean) {
 |  |          if(boolean.klass === smalltalk.Boolean) {
 | 
											
												
													
														|  |              return boolean;
 |  |              return boolean;
 | 
											
										
											
												
													
														|  | @@ -762,6 +765,8 @@ function Smalltalk(){
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | 
 |  | +    /* Smalltalk initilization. Called on page load */
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |      st.initialize = function() {
 |  |      st.initialize = function() {
 | 
											
												
													
														|  |          if(initialized) {return false};
 |  |          if(initialized) {return false};
 | 
											
												
													
														|  |  
 |  |  
 |