From c6276caeaee2ed5dce6071719ac281eca1090feb Mon Sep 17 00:00:00 2001 From: Platonides Date: Sat, 24 Jul 2010 23:30:08 +0000 Subject: [PATCH] Update function comments to r13689. This time on trunk. --- skins/common/edit.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/skins/common/edit.js b/skins/common/edit.js index 3f8c8624cf..5d30844f65 100644 --- a/skins/common/edit.js +++ b/skins/common/edit.js @@ -1,7 +1,6 @@ var currentFocused; -// this function generates the actual toolbar buttons with localized text -// we use it to avoid creating the toolbar where javascript is not enabled +// this function adds a toolbar button to the mwEditButtons list function addButton( imageFile, speedTip, tagOpen, tagClose, sampleText, imageId ) { // Don't generate buttons for browsers which don't fully // support it. @@ -15,8 +14,7 @@ function addButton( imageFile, speedTip, tagOpen, tagClose, sampleText, imageId }); } -// this function generates the actual toolbar buttons with localized text -// we use it to avoid creating the toolbar where JavaScript is not enabled +// this function adds one toolbar button from a mwEditButtons/mwCustomEditButtons item function mwInsertEditButton( parent, item ) { var image = document.createElement( 'img' ); image.width = 23; @@ -43,6 +41,8 @@ function mwInsertEditButton( parent, item ) { return true; } +// this function generates the actual toolbar buttons with localized text +// we use it to avoid creating the toolbar where javascript is not enabled function mwSetupToolbar() { var toolbar = document.getElementById( 'toolbar' ); if ( !toolbar ) { -- 2.20.1