mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-05 13:16:14 +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
19 lines
362 B
JavaScript
19 lines
362 B
JavaScript
/**
|
|
* @provides javelin-view-renderer
|
|
* @requires javelin-install
|
|
*/
|
|
|
|
JX.install('ViewRenderer', {
|
|
members: {
|
|
visit: function(view, children) {
|
|
return view.render(children);
|
|
}
|
|
},
|
|
statics: {
|
|
render: function(view) {
|
|
var renderer = new JX.ViewRenderer();
|
|
return view.accept(JX.bind(renderer, renderer.visit));
|
|
}
|
|
}
|
|
});
|
|
|