//     NoFlo - Flow-Based Programming for JavaScript
//     (c) 2014-2017 Flowhub UG
//     NoFlo may be freely distributed under the MIT license
//

/* eslint-disable
    no-console,
    no-undef,
*/

// Platform detection method
exports.isBrowser = function isBrowser() {
  if ((typeof process !== 'undefined') && process.execPath && process.execPath.match(/node|iojs/)) {
    return false;
  }
  return true;
};

// Mechanism for showing API deprecation warnings. By default logs the warnings
// but can also be configured to throw instead with the `NOFLO_FATAL_DEPRECATED`
// env var.
exports.deprecated = function deprecated(message) {
  if (exports.isBrowser()) {
    console.warn(message);
    return;
  }
  if (process.env.NOFLO_FATAL_DEPRECATED) {
    throw new Error(message);
  }
  console.warn(message);
};

@@ -234,21 +234,8 @@
 port
-s.isBrowser =
  fun
@@ -250,24 +250,24 @@
 Browser() %7B%0A
+
   if ((typeo
@@ -393,17 +393,16 @@
  true;%0A%7D
-;
 %0A%0A// Mec
@@ -572,28 +572,68 @@
 ar.%0A
-exports.deprecated =
+/**%0A * @param %7Bstring%7D message%0A * @returns %7Bvoid%7D%0A */%0Aexport
  fun
@@ -670,16 +670,8 @@
 if (
-exports.
 isBr

Switch to JS modules