summaryrefslogtreecommitdiff
path: root/vendor/oojs/oojs-ui/jsduck.eg-iframe.html
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/oojs/oojs-ui/jsduck.eg-iframe.html')
-rw-r--r--vendor/oojs/oojs-ui/jsduck.eg-iframe.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/vendor/oojs/oojs-ui/jsduck.eg-iframe.html b/vendor/oojs/oojs-ui/jsduck.eg-iframe.html
new file mode 100644
index 00000000..bd9c9dde
--- /dev/null
+++ b/vendor/oojs/oojs-ui/jsduck.eg-iframe.html
@@ -0,0 +1,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>