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
var script_uri = '/javascript/editor/langs/' + markup_name + '.js';
var script_uri = '/javascripts/editor/langs/' + markup_name + '.js';
$.ajax({
url: script_uri,
dataType: 'script',
@@ -779,7 +779,6 @@
_LOADED_HELP_LANGS: [],
_HELP: {},
/**
* Help.define
*
@@ -817,7 +816,6 @@
}
},
/**
* Help.generateHelpMenuFor
* Generates the markup for the main help menu given a context name.
@@ -864,7 +862,6 @@
},
/**
* Help.generateSubMenu
* Generates the markup for the inline help sub-menu given the data
@@ -891,15 +888,13 @@
}
},
hide: function() {
if ( $.browser.msie ) {
$('#gollum-editor-help').css('display', 'none');
} else {
$('#gollum-editor-help').animate({
opacity: 0
}, 200,
function() {
}, 200, function() {
$('#gollum-editor-help')
.animate({ height: 'hide' }, 200);
});
@@ -914,15 +909,13 @@
} else {
$('#gollum-editor-help').animate({
height: 'show'
}, 200,
function() {
}, 200, function() {
$('#gollum-editor-help')
.animate({ opacity: 1 }, 300);
});
}
},
/**
* Help.showHelpFor
* Displays the actual help content given the two menu indexes, which are
@@ -938,7 +931,6 @@
$('#gollum-editor-help-content').html(html);
},
/**
* Help.isLoadedFor
* Returns true if help is loaded for a specific markup language,
@@ -956,12 +948,10 @@
return false;
},
isShown: function() {
return ($('#gollum-editor-help').is(':visible'));
},
/**
* Help.isValidHelpFormat
* Does a quick check to make sure that the help definition isn't in a
@@ -978,7 +968,6 @@
helpArr[0].content.length );
},
/**
* Help.setActiveHelp
* Sets the active help definition to the one defined in the argument,
@@ -1008,7 +997,6 @@
}
},
/**
* Help.evtHelpButtonClick
* Event handler for clicking the help button in the function bar.
@@ -1022,7 +1010,6 @@
else { Help.show(); }
},
/**
* Help.evtParentMenuClick
* 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();
},
/**
* Help.evtSubMenuClick
* Event handler for clicking an item in a help submenu. Renders the
@@ -1068,7 +1054,6 @@
}
};
// Publicly-accessible function to Help.define
$.GollumEditor.defineHelp = Help.define;