<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Button Test Page</title>
</head>
<body class='yui3-skin-sam'>
<div id="log"></div>
<div id="container"></div>
<script>
var Y = YUI({
filter: (window.location.search.match(/[?&]filter=([^&]+)/) || [])[1] || 'min',
modules: {
'button-core-test': {
fullpath: 'button-core-test.js',
requires: ['button-core', 'test']
},
'button-plugin-test': {
fullpath: 'button-plugin-test.js',
requires: ['button-plugin', 'test']
},
'button-test': {
fullpath: 'button-test.js',
requires: ['button', 'test', 'node-event-simulate']
},
'button-group-test': {
fullpath: 'button-group-test.js',
requires: ['button-group', 'node-event-simulate']
}
}
}).use('button-core-test', 'button-plugin-test', 'button-test', 'button-group-test', 'test-console', function (Y) {
new Y.Test.Console().render('#log');
Y.Test.Runner.setName('Button Test Suite');
});
</script>
</body>
</html>