Skip to content

Commit

Permalink
initial modernizr bin tool
Browse files Browse the repository at this point in the history
  • Loading branch information
SlexAxton committed Nov 27, 2012
1 parent 84d265c commit b5e6842
Show file tree
Hide file tree
Showing 8 changed files with 1,003 additions and 303 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
modernizr.min.js
build
dist
tmp
.DS_Store
4 changes: 4 additions & 0 deletions bin/modernizr
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
node ./lib/generate-init.js $1
grunt build
rm -rf ./tmp
156 changes: 156 additions & 0 deletions config-all.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
{
"options": [
"setClasses",
"addTest",
"html5printshiv",
"load"
],
"feature-detects": [
"test/a/download",
"test/audio/audiodata",
"test/audio/webaudio",
"test/battery/lowbattery",
"test/canvas/todataurl",
"test/css/animations",
"test/css/backgroundposition-shorthand",
"test/css/backgroundposition-xy",
"test/css/backgroundrepeat",
"test/css/backgroundsize",
"test/css/backgroundsizecover",
"test/css/borderimage",
"test/css/borderradius",
"test/css/boxshadow",
"test/css/boxsizing",
"test/css/calc",
"test/css/columns",
"test/css/cubicbezierrange",
"test/css/displayrunin",
"test/css/displaytable",
"test/css/filters",
"test/css/flexbox",
"test/css/flexboxlegacy",
"test/css/fontface",
"test/css/generatedcontent",
"test/css/gradients",
"test/css/hsla",
"test/css/hyphens",
"test/css/lastchild",
"test/css/mask",
"test/css/mediaqueries",
"test/css/multiplebgs",
"test/css/objectfit",
"test/css/opacity",
"test/css/overflow-scrolling",
"test/css/pointerevents",
"test/css/positionsticky",
"test/css/reflections",
"test/css/regions",
"test/css/remunit",
"test/css/resize",
"test/css/rgba",
"test/css/scrollbars",
"test/css/subpixelfont",
"test/css/supports",
"test/css/textshadow",
"test/css/transforms",
"test/css/transforms3d",
"test/css/transitions",
"test/css/userselect",
"test/css/vhunit",
"test/css/vmaxunit",
"test/css/vminunit",
"test/css/vwunit",
"test/dom/classlist",
"test/dom/createElement-attrs",
"test/dom/dataset",
"test/dom/microdata",
"test/elem/datalist",
"test/elem/details",
"test/elem/output",
"test/elem/progress-meter",
"test/elem/ruby",
"test/elem/time",
"test/elem/track",
"test/es5/strictmode",
"test/event/deviceorientation-motion",
"test/file/api",
"test/file/filesystem",
"test/forms/fileinput",
"test/forms/formattribute",
"test/forms/inputnumber-l10n",
"test/forms/placeholder",
"test/forms/speechinput",
"test/forms/validation",
"test/iframe/sandbox",
"test/iframe/seamless",
"test/iframe/srcdoc",
"test/img/apng",
"test/img/webp-lossless",
"test/img/webp",
"test/network/connection",
"test/network/eventsource",
"test/network/xhr2",
"test/script/async",
"test/script/defer",
"test/storage/localstorage",
"test/storage/sessionstorage",
"test/storage/websqldatabase",
"test/style/scoped",
"test/svg/clippaths",
"test/svg/filters",
"test/svg/inline",
"test/svg/smil",
"test/url/data-uri",
"test/webgl/extensions",
"test/websockets/binary",
"test/window/framed",
"test/workers/blobworkers",
"test/workers/dataworkers",
"test/workers/webworkers",
"test/applicationcache",
"test/audio",
"test/battery",
"test/blob",
"test/canvas",
"test/canvastext",
"test/contenteditable",
"test/contentsecuritypolicy",
"test/contextmenu",
"test/cookies",
"test/cors",
"test/custom-protocol-handler",
"test/dart",
"test/dataview-api",
"test/draganddrop",
"test/emoji",
"test/exif-orientation",
"test/fullscreen-api",
"test/gamepad",
"test/getusermedia",
"test/hashchange",
"test/history",
"test/ie8compat",
"test/indexedDB",
"test/input",
"test/inputtypes",
"test/json",
"test/lists-reversed",
"test/mathml",
"test/notification",
"test/pagevisibility-api",
"test/performance",
"test/pointerlock-api",
"test/postmessage",
"test/quota-management-api",
"test/requestanimationframe",
"test/svg",
"test/touch",
"test/unicode",
"test/userdata",
"test/vibration",
"test/video",
"test/web-intents",
"test/webgl",
"test/websockets"
]
}
Loading

0 comments on commit b5e6842

Please sign in to comment.