@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Define function before use

Summary: Silences a JSHint warning.

Test Plan: `arc lint`

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11141

+19 -19
+11 -11
resources/celerity/map.php
··· 9 9 'names' => array( 10 10 'core.pkg.css' => '094971a9', 11 11 'core.pkg.js' => '44aac665', 12 - 'darkconsole.pkg.js' => 'd326843f', 12 + 'darkconsole.pkg.js' => '8ab24e01', 13 13 'differential.pkg.css' => '8af45893', 14 14 'differential.pkg.js' => 'dad3622f', 15 15 'diffusion.pkg.css' => '591664fa', ··· 448 448 'rsrc/js/core/behavior-autofocus.js' => '7319e029', 449 449 'rsrc/js/core/behavior-choose-control.js' => '6153c708', 450 450 'rsrc/js/core/behavior-crop.js' => 'fa0f4fc2', 451 - 'rsrc/js/core/behavior-dark-console.js' => 'caa97e33', 451 + 'rsrc/js/core/behavior-dark-console.js' => '08883e8b', 452 452 'rsrc/js/core/behavior-device.js' => '03d6ed07', 453 453 'rsrc/js/core/behavior-drag-and-drop-textarea.js' => '92eb531d', 454 454 'rsrc/js/core/behavior-error-log.js' => '6882e80a', ··· 554 554 'javelin-behavior-conpherence-pontificate' => '85ab3c8e', 555 555 'javelin-behavior-conpherence-widget-pane' => '40b1ff90', 556 556 'javelin-behavior-countdown-timer' => 'e4cc26b3', 557 - 'javelin-behavior-dark-console' => 'caa97e33', 557 + 'javelin-behavior-dark-console' => '08883e8b', 558 558 'javelin-behavior-dashboard-async-panel' => '469c0d9e', 559 559 'javelin-behavior-dashboard-move-panels' => '82439934', 560 560 'javelin-behavior-dashboard-query-panel-select' => '453c5375', ··· 863 863 'javelin-mask', 864 864 'phabricator-drag-and-drop-file-upload', 865 865 ), 866 + '08883e8b' => array( 867 + 'javelin-behavior', 868 + 'javelin-stratcom', 869 + 'javelin-util', 870 + 'javelin-dom', 871 + 'javelin-request', 872 + 'phabricator-keyboard-shortcut', 873 + ), 866 874 '0a3f3021' => array( 867 875 'javelin-behavior', 868 876 'javelin-stratcom', ··· 1641 1649 'javelin-dom', 1642 1650 'javelin-stratcom', 1643 1651 'phabricator-phtize', 1644 - ), 1645 - 'caa97e33' => array( 1646 - 'javelin-behavior', 1647 - 'javelin-stratcom', 1648 - 'javelin-util', 1649 - 'javelin-dom', 1650 - 'javelin-request', 1651 - 'phabricator-keyboard-shortcut', 1652 1652 ), 1653 1653 'cc1bd0b0' => array( 1654 1654 'javelin-install',
+8 -8
webroot/rsrc/js/core/behavior-dark-console.js
··· 9 9 */ 10 10 11 11 JX.behavior('dark-console', function(config, statics) { 12 - var root = statics.root || setup_console(); 13 - 14 - config.key = config.key || root.getAttribute('data-console-key'); 15 - 16 - if (!('color' in config)) { 17 - config.color = root.getAttribute('data-console-color'); 18 - } 19 - 20 12 // Do first-time setup. 21 13 function setup_console() { 22 14 statics.root = JX.$('darkconsole'); ··· 55 47 } 56 48 57 49 return statics.root; 50 + } 51 + 52 + var root = statics.root || setup_console(); 53 + 54 + config.key = config.key || root.getAttribute('data-console-key'); 55 + 56 + if (!('color' in config)) { 57 + config.color = root.getAttribute('data-console-color'); 58 58 } 59 59 60 60