Merge branch 'master' of github.com:pushrocks/smartenv
This commit is contained in:
commit
d601a0eeb0
@ -2,7 +2,7 @@
|
|||||||
class Environment {
|
class Environment {
|
||||||
public runtimeEnv:string;
|
public runtimeEnv:string;
|
||||||
public userAgent:string;
|
public userAgent:string;
|
||||||
public nodeVersion;
|
public nodeVersion:string;
|
||||||
public isBrowser:boolean;
|
public isBrowser:boolean;
|
||||||
public isNode:boolean;
|
public isNode:boolean;
|
||||||
constructor(runtimeEnvArg,userAgentArg = "undefined") {
|
constructor(runtimeEnvArg,userAgentArg = "undefined") {
|
||||||
@ -18,4 +18,4 @@ class Environment {
|
|||||||
this.nodeVersion = "undefined";
|
this.nodeVersion = "undefined";
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user