Identifying the platform we're running on

3 views
Skip to first unread message

John Peat

unread,
Jul 25, 2013, 6:18:17 AM7/25/13
to node-...@googlegroups.com
I can think of a few quick-and-dirty ways of telling - but is there a de-facto best/most reliable way of telling whether we're on Windows/Linux or OSX from within Javascript - without resorting to things which might change like userAgent

Michael Winser

unread,
Jul 25, 2013, 7:27:37 AM7/25/13
to node-...@googlegroups.com

On Jul 25, 2013, at 6:18 AM, John Peat <john...@gmail.com> wrote:

I can think of a few quick-and-dirty ways of telling - but is there a de-facto best/most reliable way of telling whether we're on Windows/Linux or OSX from within Javascript - without resorting to things which might change like userAgent

--
You received this message because you are subscribed to the Google Groups "node-webkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-webkit...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply all
Reply to author
Forward
0 new messages