1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-15 03:12:41 +01:00
phorge-phorge/webroot/rsrc/externals/javelin/docs/onload.js
Joshua Spence 6270114767 Various linter fixes.
Summary:
- Removed trailing newlines.
- Added newline at EOF.
- Removed leading newlines.
- Trimmed trailing whitespace.
- Spelling fix.
- Added newline at EOF

Test Plan: N/A

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley

CC: hach-que, chad, Korvin, epriestley, aran

Differential Revision: https://secure.phabricator.com/D8344
2014-02-26 12:44:58 -08:00

21 lines
640 B
JavaScript

/**
* @javelin
*/
/**
* Register a callback for invocation after DOMContentReady.
*
* NOTE: Although it isn't private, use of this function is heavily discouraged.
* See @{article:Concepts: Behaviors} for information on using behaviors to
* structure and invoke glue code.
*
* This function is defined as a side effect of init.js.
*
* @param function Callback function to invoke after DOMContentReady.
* @return void
* @group util
*/
JX.onload = function(callback) {
// This isn't the real function definition, it's only defined here to let the
// documentation generator find it. The actual definition is in init.js.
};