Fix indenting offset

2 spaces, not 3
This commit is contained in:
Joshua Peek
2011-09-27 16:26:03 -05:00
parent 095a392359
commit 3a8d65bd3e
@@ -233,7 +233,7 @@
} }
// attempt to load the definition for this language // attempt to load the definition for this language
var script_uri = '/javascript/editor/langs/' + markup_name + '.js'; var script_uri = '/javascripts/editor/langs/' + markup_name + '.js';
$.ajax({ $.ajax({
url: script_uri, url: script_uri,
dataType: 'script', dataType: 'script',
@@ -779,7 +779,6 @@
_LOADED_HELP_LANGS: [], _LOADED_HELP_LANGS: [],
_HELP: {}, _HELP: {},
/** /**
* Help.define * Help.define
* *
@@ -817,7 +816,6 @@
} }
}, },
/** /**
* Help.generateHelpMenuFor * Help.generateHelpMenuFor
* Generates the markup for the main help menu given a context name. * Generates the markup for the main help menu given a context name.
@@ -864,7 +862,6 @@
}, },
/** /**
* Help.generateSubMenu * Help.generateSubMenu
* Generates the markup for the inline help sub-menu given the data * Generates the markup for the inline help sub-menu given the data
@@ -891,15 +888,13 @@
} }
}, },
hide: function() { hide: function() {
if ( $.browser.msie ) { if ( $.browser.msie ) {
$('#gollum-editor-help').css('display', 'none'); $('#gollum-editor-help').css('display', 'none');
} else { } else {
$('#gollum-editor-help').animate({ $('#gollum-editor-help').animate({
opacity: 0 opacity: 0
}, 200, }, 200, function() {
function() {
$('#gollum-editor-help') $('#gollum-editor-help')
.animate({ height: 'hide' }, 200); .animate({ height: 'hide' }, 200);
}); });
@@ -914,15 +909,13 @@
} else { } else {
$('#gollum-editor-help').animate({ $('#gollum-editor-help').animate({
height: 'show' height: 'show'
}, 200, }, 200, function() {
function() {
$('#gollum-editor-help') $('#gollum-editor-help')
.animate({ opacity: 1 }, 300); .animate({ opacity: 1 }, 300);
}); });
} }
}, },
/** /**
* Help.showHelpFor * Help.showHelpFor
* Displays the actual help content given the two menu indexes, which are * Displays the actual help content given the two menu indexes, which are
@@ -938,7 +931,6 @@
$('#gollum-editor-help-content').html(html); $('#gollum-editor-help-content').html(html);
}, },
/** /**
* Help.isLoadedFor * Help.isLoadedFor
* Returns true if help is loaded for a specific markup language, * Returns true if help is loaded for a specific markup language,
@@ -956,12 +948,10 @@
return false; return false;
}, },
isShown: function() { isShown: function() {
return ( $('#gollum-editor-help').is(':visible') ); return ($('#gollum-editor-help').is(':visible'));
}, },
/** /**
* Help.isValidHelpFormat * Help.isValidHelpFormat
* Does a quick check to make sure that the help definition isn't in a * Does a quick check to make sure that the help definition isn't in a
@@ -978,7 +968,6 @@
helpArr[0].content.length ); helpArr[0].content.length );
}, },
/** /**
* Help.setActiveHelp * Help.setActiveHelp
* Sets the active help definition to the one defined in the argument, * Sets the active help definition to the one defined in the argument,
@@ -1008,7 +997,6 @@
} }
}, },
/** /**
* Help.evtHelpButtonClick * Help.evtHelpButtonClick
* Event handler for clicking the help button in the function bar. * Event handler for clicking the help button in the function bar.
@@ -1022,7 +1010,6 @@
else { Help.show(); } else { Help.show(); }
}, },
/** /**
* Help.evtParentMenuClick * Help.evtParentMenuClick
* Event handler for clicking on an item in the parent menu. Automatically * Event handler for clicking on an item in the parent menu. Automatically
@@ -1047,7 +1034,6 @@
$($('#gollum-editor-help-list li a').get(0)).click(); $($('#gollum-editor-help-list li a').get(0)).click();
}, },
/** /**
* Help.evtSubMenuClick * Help.evtSubMenuClick
* Event handler for clicking an item in a help submenu. Renders the * Event handler for clicking an item in a help submenu. Renders the
@@ -1068,7 +1054,6 @@
} }
}; };
// Publicly-accessible function to Help.define // Publicly-accessible function to Help.define
$.GollumEditor.defineHelp = Help.define; $.GollumEditor.defineHelp = Help.define;