mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-27 15:50:29 +00:00
5813d53271
Also * This way we don't need to pass the --config=jsduck.config.json parameter but can run plain 'jsduck' in Jenkins. Allowing it to use the standard job template for testing. * Move processes=0 to jsduck.json. Workaround for https://github.com/senchalabs/jsduck/issues/525 * Use standard ' - Documentation' suffix, which makes the first part of the title render in bold (similar to how we do in OOjs and OOjs UI already). Change-Id: I6c9c7a1f29df0a72dc8cd0d37a83aaef23068062
37 lines
649 B
Plaintext
37 lines
649 B
Plaintext
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>VisualEditor Example</title>
|
|
|
|
<!-- STYLES -->
|
|
|
|
<!-- example styles -->
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
overflow-y: scroll;
|
|
background: #fff;
|
|
font: normal 1em/1.5 sans-serif;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<!-- SCRIPTS -->
|
|
|
|
<!-- example scripts -->
|
|
<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>
|