blob: 457a55e00eb94dbef722927b7016f6d4e82433c6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- ui/webui/resources/js/cr.js.orig 2019-12-12 12:41:35 UTC
+++ ui/webui/resources/js/cr.js
@@ -436,6 +436,11 @@ var cr = cr || function(global) {
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() {
|