1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 15:22:41 +01:00
phorge-phorge/webroot/rsrc/externals/javelin/docs/onload.js
epriestley 95f57756aa Move all external JS into webroot/rsrc/externals
Summary:
Currently, Celerity map rebuilds on Windows don't put Stripe or Raphael into the map. Move them into `webroot/rsrc/externals/` so they get picked up.

At some point we should maybe let the mapper load resources from mulitple locations, but this is more straightforward for now.

See https://github.com/facebook/phabricator/issues/294

Test Plan: Rebuilt map, verified Burnup Rate + Stripe work.

Reviewers: vrana, btrahan

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D5661
2013-04-11 10:06:05 -07:00

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.
};