@ -492,7 +492,7 @@ explicitly. Same as <code>skipParsing</code> for <a href="Parser.html">Parser</a
<brclass="clear">
<brclass="clear">
<footer>
<footer>
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Sun Aug 04 2019 23:53:02 GMT+0300 (Eastern European Summer Time) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Jul 09 2020 22:10:18 GMT+0300 (Eastern European Summer Time) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
@ -3061,7 +3061,7 @@ Returns <code>undefined</code> when the browser is no described in the checkTree
<brclass="clear">
<brclass="clear">
<footer>
<footer>
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Sun Aug 04 2019 23:53:02 GMT+0300 (Eastern European Summer Time) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Jul 09 2020 22:10:18 GMT+0300 (Eastern European Summer Time) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Sun Aug 04 2019 23:53:02 GMT+0300 (Eastern European Summer Time) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Jul 09 2020 22:10:18 GMT+0300 (Eastern European Summer Time) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
@ -2352,7 +2706,7 @@ like <code>"iPhone"</code> or <code>"Kindle Fire HD 7"</code
<brclass="clear">
<brclass="clear">
<footer>
<footer>
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Sun Aug 04 2019 23:53:02 GMT+0300 (Eastern European Summer Time) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Jul 09 2020 22:10:18 GMT+0300 (Eastern European Summer Time) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
<li><strong>Multi-platform.</strong> It's browser- and node-ready, so you can use it in any environment.</li>
<li><strong>Multi-platform.</strong> It's browser- and node-ready, so you can use it in any environment.</li>
</ul>
</ul>
<p>Don't hesitate to support the project on Github or <ahref="https://opencollective.com/bowser">OpenCollective</a> if you like it ❤️ Also, contributors are always welcome!</p>
<p>Don't hesitate to support the project on Github or <ahref="https://opencollective.com/bowser">OpenCollective</a> if you like it ❤️ Also, contributors are always welcome!</p>
<p><ahref="https://opencollective.com/bowser"><imgsrc="https://opencollective.com/bowser/all/badge.svg?label=financial+contributors"alt="Financial Contributors on Open Collective"></a><ahref="https://travis-ci.org/lancedikson/bowser/"><imgsrc="https://travis-ci.org/lancedikson/bowser.svg?branch=master"alt="Build Status"></a><ahref="https://greenkeeper.io/"><imgsrc="https://badges.greenkeeper.io/lancedikson/bowser.svg"alt="Greenkeeper badge"></a><ahref="https://coveralls.io/github/lancedikson/bowser?branch=master"><imgsrc="https://coveralls.io/repos/github/lancedikson/bowser/badge.svg?branch=master"alt="Coverage Status"></a><imgsrc="https://img.shields.io/npm/dm/bowser"alt="Downloads"></p>
<h1>Contents</h1>
<h1>Contents</h1>
<ul>
<ul>
<li><ahref="#overview">Overview</a></li>
<li><ahref="#overview">Overview</a></li>
@ -74,7 +74,7 @@
<li><ahref="#contributing">How can I help?</a></li>
<li><ahref="#contributing">How can I help?</a></li>
</ul>
</ul>
<h1>Overview</h1>
<h1>Overview</h1>
<p>The library is made to help to detect what browser your user has and gives you a convenient API to filter the users somehow depending on their browsers.</p>
<p>The library is made to help to detect what browser your user has and gives you a convenient API to filter the users somehow depending on their browsers. Check it out on this page: https://bowser-js.github.io/bowser-online/.</p>
<h3>⚠️ Version 2.0 breaking changes ⚠️</h3>
<h3>⚠️ Version 2.0 breaking changes ⚠️</h3>
<p>Version 2.0 has drastically changed the API. All available methods are on the <ahref="https://lancedikson.github.io/bowser/docs">docs page</a>.</p>
<p>Version 2.0 has drastically changed the API. All available methods are on the <ahref="https://lancedikson.github.io/bowser/docs">docs page</a>.</p>
<p><em>For legacy code, check out the <ahref="https://github.com/lancedikson/bowser/tree/v1.x">1.x</a> branch and install it through <code>npm install bowser@1.9.4</code>.</em></p>
<p><em>For legacy code, check out the <ahref="https://github.com/lancedikson/bowser/tree/v1.x">1.x</a> branch and install it through <code>npm install bowser@1.9.4</code>.</em></p>
@ -174,6 +174,26 @@ list of aliases can be found in <a href="src/constants.js">the file</a>.</p>
<ul>
<ul>
<li><ahref="https://github.com/BigBadBleuCheese/Kong">Kong</a> - A C# port of Bowser.</li>
<li><ahref="https://github.com/BigBadBleuCheese/Kong">Kong</a> - A C# port of Bowser.</li>
</ul>
</ul>
<h2>Contributors</h2>
<h3>Code Contributors</h3>
<p>This project exists thanks to all the people who contribute. [<ahref="CONTRIBUTING.md">Contribute</a>].
<p>Support this project with your organization. Your logo will show up here with a link to your website. [<ahref="https://opencollective.com/bowser/contribute">Contribute</a>]</p>
<p>Licensed as MIT. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE file for more details.</p></article>
<p>Licensed as MIT. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE file for more details.</p></article>
</section>
</section>
@ -190,7 +210,7 @@ list of aliases can be found in <a href="src/constants.js">the file</a>.</p>
<brclass="clear">
<brclass="clear">
<footer>
<footer>
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Sun Aug 04 2019 23:53:02 GMT+0300 (Eastern European Summer Time) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Jul 09 2020 22:10:18 GMT+0300 (Eastern European Summer Time) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Sun Aug 04 2019 23:53:02 GMT+0300 (Eastern European Summer Time) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Jul 09 2020 22:10:18 GMT+0300 (Eastern European Summer Time) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
for (i = 0, l = assigners.length; i < l; i += 1) {
const assigner = assigners[i];
if (typeof assigner === 'object' && assigner !== null) {
const keys = Object.keys(assigner);
keys.forEach((key) => {
result[key] = assigner[key];
});
}
}
return obj;
}
/**
/**
* Get short version/alias for a browser name
* Get short version/alias for a browser name
*
*
@ -294,11 +344,11 @@ export default class Utils {
* @example
* @example
* getBrowserAlias('edge') // Microsoft Edge
* getBrowserAlias('edge') // Microsoft Edge
*
*
* @param {string} browserName
* @param {string} browserAlias
* @return {string}
* @return {string}
*/
*/
static getBrowserTypeByAlias(browserAlia) {
static getBrowserTypeByAlias(browserAlias) {
return BROWSER_MAP[browserAlia] || '';
return BROWSER_MAP[browserAlias] || '';
}
}
}
}
</code></pre>
</code></pre>
@ -315,7 +365,7 @@ export default class Utils {
<brclass="clear">
<brclass="clear">
<footer>
<footer>
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Sun Aug 04 2019 23:53:02 GMT+0300 (Eastern European Summer Time) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Jul 09 2020 22:10:18 GMT+0300 (Eastern European Summer Time) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.