|
@@ -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) {
|