Delete from ce.BranchNode code that is not needed anymore.

Change-Id: I64f869a9fd54d089d2c6a31d827ddaccb9ece900
This commit is contained in:
Inez Korczynski 2012-06-07 11:02:59 -07:00
parent f711d78d4d
commit 95297a2c73

View file

@ -34,7 +34,6 @@ ve.ce.BranchNode = function( type, model, $element ) {
/* Static Members */
ve.ce.BranchNode.$slugTemplate = $( '<span class="ve-ce-slug">&#xFEFF;</span>' );
//ve.ce.BranchNode.$slugTemplate = $( '<span class="ve-ce-slug">OJEJ</span>' );
/* Static Methods */
@ -164,8 +163,6 @@ ve.ce.BranchNode.prototype.onSplice = function( index, howmany ) {
if ( this.canHaveGrandchildren() ) {
$slug.css( 'display', 'block');
} else {
$slug.css( { display: 'inline-block', width: '1px' } );
}
// Iterate over all children of this branch and add slugs in appropriate places