瀏覽代碼

Merge pull request #809 from herby/removed-withdefaulttransport

boot.js: removed withDefaultTransport
Nicolas Petton 10 年之前
父節點
當前提交
519963843f
共有 1 個文件被更改,包括 0 次插入11 次删除
  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. */