1
0
mirror of https://github.com/lancedikson/bowser synced 2024-10-27 20:34:22 +00:00

register detect public method

This commit is contained in:
Joan Claret 2017-11-13 09:57:56 +01:00
parent 4eaa50b7b0
commit c15342e2c1

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
});