Include jquery.json.js in both demos to fix error

Change-Id: Ic5810536317e6de8a23232b602aced877412b1ea
This commit is contained in:
Rob Moen 2012-05-21 12:49:14 -07:00
parent 7bf15b4377
commit 8286508491
2 changed files with 2 additions and 0 deletions

View file

@ -82,6 +82,7 @@ $wgResourceModules += array(
'ext.visualEditor.ve' => $wgVisualEditorResourceTemplate + array(
'scripts' => array(
// ve
'jquery/jquery.json.js',
've2/ve.js',
've2/ve.NodeFactory.js',
've2/ve.Position.js',

View file

@ -86,6 +86,7 @@ include( '../../modules/sandbox/base.php' );
<!-- ve -->
<script src="../../modules/jquery/jquery.js"></script>
<script src="../../modules/jquery/jquery.json.js"></script>
<script src="../../modules/ve2/ve.js"></script>
<script src="../../modules/ve2/ve.NodeFactory.js"></script>
<script src="../../modules/ve2/ve.Position.js"></script>