Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Unified Diff: appengine/config_service/ui/bower_components/async/mocha_test/support/is_browser.js

Issue 2923973003: Added base template for config ui. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: appengine/config_service/ui/bower_components/async/mocha_test/support/is_browser.js
diff --git a/appengine/config_service/ui/bower_components/async/mocha_test/support/is_browser.js b/appengine/config_service/ui/bower_components/async/mocha_test/support/is_browser.js
new file mode 100644
index 0000000000000000000000000000000000000000..85e1522cedd8dd8f2180b2543c3f72fb14953c2e
--- /dev/null
+++ b/appengine/config_service/ui/bower_components/async/mocha_test/support/is_browser.js
@@ -0,0 +1,4 @@
+module.exports = function() {
+ return (typeof process === "undefined") ||
+ (process + "" !== "[object process]"); // browserify
+};

Powered by Google App Engine
This is Rietveld 408576698