A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/bootstrap-vue/bootstrap-vue/commit/cdfd16c32296072e49596a8acf722c77709f1b93 below:

environment detection based on `userAgent` (#6226) · bootstrap-vue/bootstrap-vue@cdfd16c · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+1

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+1

-1

lines changed Original file line number Diff line number Diff line change

@@ -13,7 +13,7 @@ export const IS_BROWSER = HAS_WINDOW_SUPPORT && HAS_DOCUMENT_SUPPORT && HAS_NAVI

13 13

export const WINDOW = HAS_WINDOW_SUPPORT ? window : {}

14 14

export const DOCUMENT = HAS_DOCUMENT_SUPPORT ? document : {}

15 15

export const NAVIGATOR = HAS_NAVIGATOR_SUPPORT ? navigator : {}

16 -

export const USER_AGENT = (NAVIGATOR.USER_AGENT || '').toLowerCase()

16 +

export const USER_AGENT = (NAVIGATOR.userAgent || '').toLowerCase()

17 17 18 18

export const IS_JSDOM = USER_AGENT.indexOf('jsdom') > 0

19 19

export const IS_IE = /msie|trident/.test(USER_AGENT)

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4