source: Dev/trunk/src/client/dojo/tests/sniff.html @ 529

Last change on this file since 529 was 483, checked in by hendrikvanantwerpen, 11 years ago

Added Dojo 1.9.3 release.

File size: 879 bytes
Line 
1<html>
2        <head>
3                <title>dojo/sniff test</title>
4                <style>
5                        table {
6                                border-collapse: collapse;
7                        }
8                        td {
9                                padding: 2px;
10                                border:  1px solid black;
11                        }
12                </style>
13                <script src="../dojo.js" data-dojo-config="async: true, isDebug: true"></script>
14                <script>
15                        require(["dojo/_base/array", "dojo/sniff", "dojo/dom-construct", "dojo/domReady!"],
16                                        function(array, has, domConstruct){
17                                array.forEach([
18                                        "khtml", "webkit", "chrome", "safari",
19                                        "opera",  "mozilla", "ie", "ff", "quirks",
20                                        "ios", "android", "wii", "air", "mac"], function(key){
21                                        var res = has(key);
22                                        domConstruct.place("<tr><td>has(\"" + key + "\")</td><td>" +
23                                                (res === undefined ? "undefined" : res) + "</td></tr>", "tbody");
24                                });
25                        });
26                </script>
27        </head>
28        <body>
29                <h1>dojo/sniff results</h1>
30                <table>
31                        <tbody id="tbody">
32                        </tbody>
33                </table>
34        </body>
35</html>
Note: See TracBrowser for help on using the repository browser.