mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-04 20:52:43 +01:00
1ee7bbe305
Summary: This is a major pain on Windows and the main reason why Phabricator doesn't work there and is hard to fix. The sad part is that Windows support symlinks (via `MKLINK`) but Git on Windows doesn't use them. Test Plan: Loaded Phabricator on Windows without JS errors. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D5458
22 lines
641 B
JavaScript
22 lines
641 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.
|
|
};
|
|
|