piano/js/lib/vex/build-test-amd.html

21 lines
498 B
HTML

<head>
<script src="//cdnjs.cloudflare.com/ajax/libs/require.js/2.1.8/require.min.js
"></script>
<link rel="stylesheet" href="../css/vex.css" />
<link rel="stylesheet" href="../css/vex-theme-os.css" />
<script>
require({
paths: {
jquery: 'http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min'
}
});
</script>
<script>
require(['vex', 'vex.dialog'], function(vex, vexDialog) {
vex.defaultOptions.className = 'vex-theme-os';
vexDialog.alert('Test');
});
</script>
</head>
<body>