mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 06:24:08 +00:00
Fixing location of ve.ce.CenterNode.js and adding comma between variable declarations
Change-Id: If54e314f47860ac30060bec6b3f5997ed3709e0b
This commit is contained in:
parent
5cd4222d9c
commit
156e56b47b
|
@ -206,7 +206,6 @@ $wgResourceModules += array(
|
|||
've/ce/ve.ce.Document.js',
|
||||
've/ce/ve.ce.Node.js',
|
||||
've/ce/ve.ce.BranchNode.js',
|
||||
've/ce/ve.ce.CenterNode.js',
|
||||
've/ce/ve.ce.LeafNode.js',
|
||||
've/ce/ve.ce.Surface.js',
|
||||
've/ce/ve.ce.SurfaceObserver.js',
|
||||
|
@ -214,6 +213,7 @@ $wgResourceModules += array(
|
|||
've/ce/nodes/ve.ce.AlienInlineNode.js',
|
||||
've/ce/nodes/ve.ce.AlienBlockNode.js',
|
||||
've/ce/nodes/ve.ce.BreakNode.js',
|
||||
've/ce/nodes/ve.ce.CenterNode.js',
|
||||
've/ce/nodes/ve.ce.DefinitionListItemNode.js',
|
||||
've/ce/nodes/ve.ce.DefinitionListNode.js',
|
||||
've/ce/nodes/ve.ce.DocumentNode.js',
|
||||
|
|
|
@ -129,13 +129,13 @@ $html = '<div>' . file_get_contents( $page ) . '</div>';
|
|||
<script src="../../modules/ve/ce/ve.ce.Document.js"></script>
|
||||
<script src="../../modules/ve/ce/ve.ce.Node.js"></script>
|
||||
<script src="../../modules/ve/ce/ve.ce.BranchNode.js"></script>
|
||||
<script src="../../modules/ve/ce/ve.ce.CenterNode.js"></script>
|
||||
<script src="../../modules/ve/ce/ve.ce.LeafNode.js"></script>
|
||||
<script src="../../modules/ve/ce/ve.ce.Surface.js"></script>
|
||||
<script src="../../modules/ve/ce/ve.ce.SurfaceObserver.js"></script>
|
||||
<script src="../../modules/ve/ce/nodes/ve.ce.AlienInlineNode.js"></script>
|
||||
<script src="../../modules/ve/ce/nodes/ve.ce.AlienBlockNode.js"></script>
|
||||
<script src="../../modules/ve/ce/nodes/ve.ce.BreakNode.js"></script>
|
||||
<script src="../../modules/ve/ce/nodes/ve.ce.CenterNode.js"></script>
|
||||
<script src="../../modules/ve/ce/nodes/ve.ce.DefinitionListItemNode.js"></script>
|
||||
<script src="../../modules/ve/ce/nodes/ve.ce.DefinitionListNode.js"></script>
|
||||
<script src="../../modules/ve/ce/nodes/ve.ce.DocumentNode.js"></script>
|
||||
|
|
|
@ -1099,7 +1099,7 @@ ve.ce.Surface.prototype.hasSlugAtOffset = function ( offset ) {
|
|||
*/
|
||||
ve.ce.Surface.prototype.getNodeAndOffset = function ( offset ) {
|
||||
var slug = this.documentView.getSlugAtOffset( offset ),
|
||||
node, startOffset, current, stack, item, $item length;
|
||||
node, startOffset, current, stack, item, $item, length;
|
||||
if ( slug ) {
|
||||
return { node: slug[0].childNodes[0], offset: 0 };
|
||||
}
|
||||
|
|
|
@ -78,13 +78,13 @@
|
|||
<script src="../../ve/ce/ve.ce.Document.js"></script>
|
||||
<script src="../../ve/ce/ve.ce.Node.js"></script>
|
||||
<script src="../../ve/ce/ve.ce.BranchNode.js"></script>
|
||||
<script src="../../ve/ce/ve.ce.CenterNode.js"></script>
|
||||
<script src="../../ve/ce/ve.ce.LeafNode.js"></script>
|
||||
<script src="../../ve/ce/ve.ce.Surface.js"></script>
|
||||
<script src="../../ve/ce/ve.ce.SurfaceObserver.js"></script>
|
||||
<script src="../../ve/ce/nodes/ve.ce.AlienInlineNode.js"></script>
|
||||
<script src="../../ve/ce/nodes/ve.ce.AlienBlockNode.js"></script>
|
||||
<script src="../../ve/ce/nodes/ve.ce.BreakNode.js"></script>
|
||||
<script src="../../ve/ce/nodes/ve.ce.CenterNode.js"></script>
|
||||
<script src="../../ve/ce/nodes/ve.ce.DefinitionListItemNode.js"></script>
|
||||
<script src="../../ve/ce/nodes/ve.ce.DefinitionListNode.js"></script>
|
||||
<script src="../../ve/ce/nodes/ve.ce.DocumentNode.js"></script>
|
||||
|
|
Loading…
Reference in a new issue