From 1e85621bd9be457cf2aefafb500c43f8ddaa9db9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Inez=20Korczyn=CC=81ski?= Date: Thu, 9 May 2013 17:27:37 -0700 Subject: [PATCH] Reduction of renderContents calls There is no need to call renderContents in ContentBranchNode constructor because it is going to be called anyways in onSplice Change-Id: Id1ab983668299658ecd6e89a37667cc34c701689 --- modules/ve/ce/ve.ce.ContentBranchNode.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/ve/ce/ve.ce.ContentBranchNode.js b/modules/ve/ce/ve.ce.ContentBranchNode.js index 0e5f4d5e15..e1b9ca2c00 100644 --- a/modules/ve/ce/ve.ce.ContentBranchNode.js +++ b/modules/ve/ce/ve.ce.ContentBranchNode.js @@ -25,9 +25,6 @@ ve.ce.ContentBranchNode = function VeCeContentBranchNode( model, $element ) { // Events this.connect( this, { 'childUpdate': 'onChildUpdate' } ); - - // Initialization - this.renderContents(); }; /* Inheritance */