%PDF- %PDF-
Direktori : /usr/share/javascript/modernizr/feature-detects/ |
Current File : //usr/share/javascript/modernizr/feature-detects/dom-dataset.js |
// dataset API for data-* attributes // test by @phiggins42 Modernizr.addTest('dataset', function(){ var n = document.createElement("div"); n.setAttribute("data-a-b", "c"); return !!(n.dataset && n.dataset.aB === "c"); });