Address code review

This commit is contained in:
Yui T
2015-05-14 15:06:30 -07:00
parent 386f9f2a5d
commit afc0847e8b

View File

@@ -45,9 +45,11 @@ module Utils {
export function getExecutionEnvironment() {
if (typeof WScript !== "undefined" && typeof ActiveXObject === "function") {
return ExecutionEnvironment.CScript;
} else if (typeof window !== "undefined") {
}
else if (typeof window !== "undefined") {
return ExecutionEnvironment.Browser;
} else {
}
else {
return ExecutionEnvironment.Node;
}
}