Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/webroot/rsrc/externals/javelin/docs/onload.js
12242 views
1
/**
2
* @javelin
3
*/
4
5
/**
6
* Register a callback for invocation after DOMContentReady.
7
*
8
* NOTE: Although it isn't private, use of this function is heavily discouraged.
9
* See @{article:Concepts: Behaviors} for information on using behaviors to
10
* structure and invoke glue code.
11
*
12
* This function is defined as a side effect of init.js.
13
*
14
* @param function Callback function to invoke after DOMContentReady.
15
* @return void
16
*/
17
JX.onload = function(callback) {
18
// This isn't the real function definition, it's only defined here to let the
19
// documentation generator find it. The actual definition is in init.js.
20
};
21
22