Browse Source

fixes a typo in boot.js

Nicolas Petton 11 years ago
parent
commit
35ef0dd224
1 changed files with 4 additions and 4 deletions
  1. 4 4
      support/boot.js

+ 4 - 4
support/boot.js

@@ -410,7 +410,7 @@ function ClassesBrik(brikz, st) {
 		if (this.transport) {
 			throw new Error("Cannot set default transport; transport already set");
 		}
-		if (st.defaultTransportType) {
+		if (defaultTransportType) {
 			this.transport = { type: defaultTransportType };
 		}
 		return this;
@@ -1054,16 +1054,16 @@ function SelectorConversionBrik(brikz, st) {
 
 /* Adds AMD and requirejs related methods to the smalltalk object */
 function AMDBrik(brikz, st) {
-	var amdRequre;
+	var amdRequire;
 	var defaultTransportType = "amd";
 	var defaultAMDNamespace = "amber";
 
 	st.setAMDRequire = function(req) {
-		amdRequre = req;
+		amdRequire = req;
 	};
 
 	st.getAMDRequire = function() {
-		return amdRequre;
+		return amdRequire;
 	};
 
 	st.setDefaultTransportType = function(type) {