blob: e3bf65d8ae233e374b469e83ba5ff9badaf1a645 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- ui/webui/resources/js/cr.js.orig 2019-03-15 06:38:29 UTC
+++ ui/webui/resources/js/cr.js
@@ -455,6 +455,11 @@ var cr = cr || function() {
get doc() {
return document;
},
+
+ /** Whether this is on *BSD. */
+ get isBSD() {
+ return /BSD/.test(navigator.userAgent);
+ },
/** Whether we are using a Mac or not. */
get isMac() {
|