mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-30 09:04:21 +00:00
0d30a5528e
tests/parser/parserTests.js. * Removed var from es in es.js to allow node.js to access it as global. Only alternative solution appears to be a node-specific 'exports' construct: http://nodejs.org/docs/v0.3.1/api/modules.html * Added es.Document.js and es.Document.Serializer.js in es/bases. Not sure if this is the desired location. * Changed es.extend to es.extendClass in the serializers * Modified the first parser test to include the WikiDom modules and call the new HTML serializer
21 lines
487 B
HTML
21 lines
487 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
|
|
<link rel="stylesheet" href="../modules/jquery.nodetree.css">
|
|
|
|
<script src="../../../resources/jquery/jquery.js"></script>
|
|
<script src="../../../resources/mediawiki/mediawiki.js"></script>
|
|
|
|
<script src="../modules/jquery.nodetree.js"></script>
|
|
<script src="../modules/mediawiki.parser.environment.js"></script>
|
|
<script src="../modules/ext.parserPlayground.serializer.js"></script>
|
|
|
|
<script src="expansionTest.js"></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
</body>
|
|
</html>
|