1
0
mirror of https://github.com/lancedikson/bowser synced 2026-03-02 03:40:27 +00:00

Add a public .detect() method

This commit is contained in:
Joan Claret
2017-11-13 09:57:56 +01:00
committed by Denis Demchenko
parent 4eaa50b7b0
commit 5b4a89b42a
2 changed files with 6 additions and 0 deletions

View File

@@ -611,5 +611,10 @@
*/
bowser._detect = detect;
/*
* Set our detect public method to the main bowser object
* This is needed to implement bowser in server side
*/
bowser.detect = detect;
return bowser
});