diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2015-06-04 07:31:04 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2015-06-04 07:58:39 +0200 |
commit | f6d65e533c62f6deb21342d4901ece24497b433e (patch) | |
tree | f28adf0362d14bcd448f7b65a7aaf38650f923aa /vendor/oojs/oojs-ui/jsduck.eg-iframe.html | |
parent | c27b2e832fe25651ef2410fae85b41072aae7519 (diff) |
Update to MediaWiki 1.25.1
Diffstat (limited to 'vendor/oojs/oojs-ui/jsduck.eg-iframe.html')
-rw-r--r-- | vendor/oojs/oojs-ui/jsduck.eg-iframe.html | 33 |
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> |