OLD | NEW |
1 /*! | 1 /*! |
2 * Bowser - a browser detector | 2 * Bowser - a browser detector |
3 * https://github.com/ded/bowser | 3 * https://github.com/ded/bowser |
4 * MIT License | (c) Dustin Diaz 2015 | 4 * MIT License | (c) Dustin Diaz 2015 |
5 */ | 5 */ |
6 | 6 |
7 !function (root, name, definition) { | 7 !function (root, name, definition) { |
8 if (typeof module != 'undefined' && module.exports) module.exports = definitio
n() | 8 if (typeof module != 'undefined' && module.exports) module.exports = definitio
n() |
9 else if (typeof define == 'function' && define.amd) define(name, definition) | 9 else if (typeof define == 'function' && define.amd) define(name, definition) |
10 else root[name] = definition() | 10 else root[name] = definition() |
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
592 | 592 |
593 /* | 593 /* |
594 * Set our detect method to the main bowser object so we can | 594 * Set our detect method to the main bowser object so we can |
595 * reuse it to test other user agents. | 595 * reuse it to test other user agents. |
596 * This is needed to implement future tests. | 596 * This is needed to implement future tests. |
597 */ | 597 */ |
598 bowser._detect = detect; | 598 bowser._detect = detect; |
599 | 599 |
600 return bowser | 600 return bowser |
601 }); | 601 }); |
OLD | NEW |