aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-ui__webui__resources__js__cr.js
blob: b6689b56e7b388450f454d5301dc122240518377 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- ui/webui/resources/js/cr.js.orig	2015-09-05 09:28:39.153643000 -0400
+++ ui/webui/resources/js/cr.js	2015-09-05 09:29:44.511113000 -0400
@@ -431,5 +431,10 @@
     get isLinux() {
       return /Linux/.test(navigator.userAgent);
     },
+    
+    /** Whether this is on *BSD. */
+    get isBSD() {
+      return /BSD/.test(navigator.userAgent);
+    },
   };
 }();