From f43eeac80ea2939fea36131d601156297060d5f6 Mon Sep 17 00:00:00 2001 From: Trevor Parscal Date: Wed, 25 Jul 2012 11:54:54 -0700 Subject: [PATCH] Added the missing "Node" to alien dm class names Change-Id: Ia18d3ede612e2ab8054feb6d94d3587a605e47c2 --- modules/ve/dm/nodes/ve.dm.AlienBlockNode.js | 10 +++++----- modules/ve/dm/nodes/ve.dm.AlienInlineNode.js | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/modules/ve/dm/nodes/ve.dm.AlienBlockNode.js b/modules/ve/dm/nodes/ve.dm.AlienBlockNode.js index 8ab1748120..072d880d49 100644 --- a/modules/ve/dm/nodes/ve.dm.AlienBlockNode.js +++ b/modules/ve/dm/nodes/ve.dm.AlienBlockNode.js @@ -14,7 +14,7 @@ * @param {Integer} [length] Length of content data in document * @param {Object} [attributes] Reference to map of attribute key/value pairs */ -ve.dm.AlienBlock = function( length, attributes ) { +ve.dm.AlienBlockNode = function( length, attributes ) { // Inheritance ve.dm.LeafNode.call( this, 'alienBlock', 0, attributes ); }; @@ -28,7 +28,7 @@ ve.dm.AlienBlock = function( length, attributes ) { * @static * @member */ -ve.dm.AlienBlock.rules = { +ve.dm.AlienBlockNode.rules = { 'isWrapped': true, 'isContent': false, 'canContainContent': false, @@ -37,12 +37,12 @@ ve.dm.AlienBlock.rules = { }; // This is a special node, no converter registration is required -ve.dm.AlienBlock.converters = null; +ve.dm.AlienBlockNode.converters = null; /* Registration */ -ve.dm.nodeFactory.register( 'alienBlock', ve.dm.AlienBlock ); +ve.dm.nodeFactory.register( 'alienBlock', ve.dm.AlienBlockNode ); /* Inheritance */ -ve.extendClass( ve.dm.AlienBlock, ve.dm.LeafNode ); +ve.extendClass( ve.dm.AlienBlockNode, ve.dm.LeafNode ); diff --git a/modules/ve/dm/nodes/ve.dm.AlienInlineNode.js b/modules/ve/dm/nodes/ve.dm.AlienInlineNode.js index 9fe2055378..1cf336f963 100644 --- a/modules/ve/dm/nodes/ve.dm.AlienInlineNode.js +++ b/modules/ve/dm/nodes/ve.dm.AlienInlineNode.js @@ -14,7 +14,7 @@ * @param {Integer} [length] Length of content data in document * @param {Object} [attributes] Reference to map of attribute key/value pairs */ -ve.dm.AlienInline = function( length, attributes ) { +ve.dm.AlienInlineNode = function( length, attributes ) { // Inheritance ve.dm.LeafNode.call( this, 'alienInline', 0, attributes ); }; @@ -28,7 +28,7 @@ ve.dm.AlienInline = function( length, attributes ) { * @static * @member */ -ve.dm.AlienInline.rules = { +ve.dm.AlienInlineNode.rules = { 'isWrapped': true, 'isContent': true, 'canContainContent': false, @@ -37,12 +37,12 @@ ve.dm.AlienInline.rules = { }; // This is a special node, no converter registration is required -ve.dm.AlienInline.converters = null; +ve.dm.AlienInlineNode.converters = null; /* Registration */ -ve.dm.nodeFactory.register( 'alienInline', ve.dm.AlienInline ); +ve.dm.nodeFactory.register( 'alienInline', ve.dm.AlienInlineNode ); /* Inheritance */ -ve.extendClass( ve.dm.AlienInline, ve.dm.LeafNode ); +ve.extendClass( ve.dm.AlienInlineNode, ve.dm.LeafNode );