Merge pull request #405 from tkrotoff/remove-script-type

No need for type="text/javascript"
This commit is contained in:
Faisal Salman 2020-01-05 21:18:39 +07:00 committed by GitHub
commit 43169ce1da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,10 +113,10 @@ WebOS, Windows [Phone/Mobile], Zenwalk, ...
<!doctype html> <!doctype html>
<html> <html>
<head> <head>
<script type="text/javascript" src="ua-parser.min.js"></script> <script src="ua-parser.min.js"></script>
<script type="text/javascript"> <script>
var parser = new UAParser(); var parser = new UAParser();
// by default it takes ua string from current browser's window.navigator.userAgent // by default it takes ua string from current browser's window.navigator.userAgent
console.log(parser.getResult()); console.log(parser.getResult());