mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 09:17:58 +01:00
Normalise the use of "func" vs "fn" for function references.
"func" had the numbers.
This commit is contained in:
@@ -125,9 +125,9 @@ function Buffer() //{{{
|
||||
|
||||
// Holds option: [function, title] to generate :pageinfo sections
|
||||
var pageInfo = {};
|
||||
function addPageInfoSection(option, title, fn)
|
||||
function addPageInfoSection(option, title, func)
|
||||
{
|
||||
pageInfo[option] = [fn, title];
|
||||
pageInfo[option] = [func, title];
|
||||
}
|
||||
|
||||
function openUploadPrompt(elem)
|
||||
@@ -1013,7 +1013,7 @@ function Buffer() //{{{
|
||||
* @param {string} option The section's value in 'pageinfo'.
|
||||
* @param {string} title The heading for this section's
|
||||
* output.
|
||||
* @param {function} fn The function to generate this
|
||||
* @param {function} func The function to generate this
|
||||
* section's output.
|
||||
*/
|
||||
addPageInfoSection: addPageInfoSection,
|
||||
|
||||
Reference in New Issue
Block a user