noflo
Version:
Flow-Based Programming environment for JavaScript
10 lines (9 loc) • 330 B
text/coffeescript
# NoFlo - Flow-Based Programming for JavaScript
# (c) 2014-2015 TheGrid (Rituwall Inc.)
# NoFlo may be freely distributed under the MIT license
#
# Platform detection method
exports.isBrowser = ->
if typeof process isnt 'undefined' and process.execPath and process.execPath.match /node|iojs/
return false
true