Browse Source

Merge pull request #809 from herby/removed-withdefaulttransport

boot.js: removed withDefaultTransport
Nicolas Petton 10 years ago
parent
commit
519963843f
1 changed files with 0 additions and 11 deletions
  1. 0 11
      support/boot.js

+ 0 - 11
support/boot.js

@@ -428,17 +428,6 @@ function ClassesBrik(brikz, st) {
 		return st.packages[pkgName];
 	};
 
-	SmalltalkPackage.prototype.withDefaultTransport = function () {
-		var defaultTransportType = st.getDefaultTransportType();
-		if (this.transport) {
-			throw new Error("Cannot set default transport; transport already set");
-		}
-		if (defaultTransportType) {
-			this.transport = { type: defaultTransportType };
-		}
-		return this;
-	};
-
 	/* Add a class to the smalltalk object, creating a new one if needed.
 	 A Package is lazily created if it does not exist with given name. */