Rev | Line | |
---|
[76] | 1 | <!DOCTYPE html> |
---|
| 2 | <html> |
---|
| 3 | <head> |
---|
| 4 | <title>Sizzle</title> |
---|
| 5 | <script type="text/javascript" src="../../lib/sizzle/sizzle.js"></script> |
---|
| 6 | <script type="text/javascript" src="../../d3.js"></script> |
---|
| 7 | <style type="text/css"> |
---|
| 8 | |
---|
| 9 | body { |
---|
| 10 | margin: 2em; |
---|
| 11 | text-align: center; |
---|
| 12 | font: 300 36px helvetica neue; |
---|
| 13 | } |
---|
| 14 | |
---|
| 15 | </style> |
---|
| 16 | </head> |
---|
| 17 | <body> |
---|
| 18 | Sizzle.js disabled. |
---|
| 19 | <script type="text/javascript"> |
---|
| 20 | |
---|
| 21 | // The :first psuedo-class is a custom Sizzle extension. |
---|
| 22 | d3.select("body:first") |
---|
| 23 | .html("Sizzle.js enabled!"); |
---|
| 24 | |
---|
| 25 | </script> |
---|
| 26 | </body> |
---|
| 27 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.