mirror of
https://git.freebsd.org/ports.git
synced 2025-06-09 23:00:30 -04:00
Finally, after a long wait, an electron port for FreeBSD lands in the portstree. A huge thanks to everyone contributed to this huge effort and to the maintainer that is willing to take the burden of the maintainership!
14 lines
376 B
JavaScript
14 lines
376 B
JavaScript
--- 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() {
|