Commit 9d4ffeb4 authored by Prakhar Agarwal's avatar Prakhar Agarwal 🎯
Browse files

fixed is_webapp condition

parent b605908d
......@@ -7,7 +7,7 @@ var pd_engine_id;
function is_webapp(){
return typeof process === "undefined";
return typeof process.platform === "undefined";
}
exports.is_webapp = is_webapp;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment