mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-30 10:42:41 +01:00
95f57756aa
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
75 lines
2.2 KiB
JavaScript
75 lines
2.2 KiB
JavaScript
/**
|
|
* @requires javelin-install
|
|
* @javelin
|
|
*/
|
|
|
|
/**
|
|
* This is not a real class, but @{function:JX.install} provides several methods
|
|
* which exist on all Javelin classes. This class documents those methods.
|
|
*
|
|
* @task events Builtin Events
|
|
* @group install
|
|
*/
|
|
JX.install('Base', {
|
|
members : {
|
|
|
|
/**
|
|
* Invoke a class event, notifying all listeners. You must declare the
|
|
* events your class invokes when you install it; see @{function:JX.install}
|
|
* for documentation. Any arguments you provide will be passed to listener
|
|
* callbacks.
|
|
*
|
|
* @param string Event type, must be declared when class is
|
|
* installed.
|
|
* @param ... Zero or more arguments.
|
|
*
|
|
* @return @{JX.Event} Event object which was dispatched.
|
|
* @task events
|
|
*/
|
|
invoke : function(type, more) {
|
|
// <docstub only, see JX.install()> //
|
|
},
|
|
|
|
/**
|
|
* Listen for events emitted by this object instance. You can also use
|
|
* the static flavor of this method to listen to events emitted by any
|
|
* instance of this object.
|
|
*
|
|
* See also @{method:JX.Stratcom.listen}.
|
|
*
|
|
* @param string Type of event to listen for.
|
|
* @param function Function to call when this event occurs.
|
|
* @return object A reference to the installed listener. You can later
|
|
* remove the listener by calling this object's remove()
|
|
* method.
|
|
* @task events
|
|
*/
|
|
listen : function(type, callback) {
|
|
// <docstub only, see JX.install()> //
|
|
}
|
|
|
|
},
|
|
statics : {
|
|
|
|
/**
|
|
* Static listen interface for listening to events produced by any instance
|
|
* of this class. See @{method:listen} for documentation.
|
|
*
|
|
* @param string Type of event to listen for.
|
|
* @param function Function to call when this event occurs.
|
|
* @return object A reference to the installed listener. You can later
|
|
* remove the listener by calling this object's remove()
|
|
* method.
|
|
* @task events
|
|
*/
|
|
listen : function(type, callback) {
|
|
// <docstub only, see JX.install()> //
|
|
}
|
|
|
|
}
|
|
});
|
|
|
|
|
|
|
|
|
|
|