summaryrefslogtreecommitdiff
path: root/vendor/oojs/oojs-ui/jsduck.eg-iframe.html
blob: bd9c9ddeb76327c716f4877981b4bf53243d9be1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
	<meta charset="UTF-8">
	<title>OOjs UI example</title>
	<!-- Prevent scaling on mobile devices which cause problems with dialog sizing -->
	<meta name="viewport" content="width=device-width, user-scalable=no">
	<style>
	body {
		font-size: 0.8em;
		font-family: sans-serif;
	}
	</style>
	<link rel="stylesheet" href="dist/oojs-ui-apex.css">
</head>
<body>
	<script src="node_modules/jquery/dist/jquery.js"></script>
	<script src="node_modules/oojs/dist/oojs.jquery.js"></script>
	<script src="dist/oojs-ui.js"></script>
	<script src="dist/oojs-ui-apex.js"></script>
	<script>
		function loadInlineExample( code, options, callback ) {
			try {
				eval( code );
				callback && callback( true );
			} catch (e) {
				document.body.appendChild( document.createTextNode( e ) );
				callback && callback( false, e );
			}
		}
	</script>
</body>
</html>