Merge "Minor CSS cleanup for Vector and Monobook skins"
[mediawiki.git] / maintenance / jsduck / eg-iframe.html
blobf53b40445eb6d97a8b65d628e6fc6b640e4d1ce1
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>MediaWiki Examples</title>
6 <script>
7 function loadInlineExample(code, options, callback) {
8 try {
9 document.body.innerHTML = '';
10 eval(code);
11 callback && callback(true);
12 } catch (e) {
13 document.body.innerHTML = document.createTextNode(e);
14 callback && callback(false, e);
17 </script>
18 </head>
19 <body></body>
20 </html>