From 074ea25eab72b9e579bdd5f9bcc93f42857de00a Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 19 Mar 2012 19:17:40 -0700 Subject: [PATCH] Fix a missing @requires Summary: Split from D1921. Lint complained. Test Plan: Lint doesn't complain. Reviewers: nh, vrana, btrahan Reviewed By: btrahan CC: aran, epriestley Differential Revision: https://secure.phabricator.com/D1923 --- src/__celerity_resource_map__.php | 35 ++++++++++--------- .../core/behavior-keyboard-shortcuts.js | 1 + 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/src/__celerity_resource_map__.php b/src/__celerity_resource_map__.php index 4fd0e0dc7a..0efeda5eb6 100644 --- a/src/__celerity_resource_map__.php +++ b/src/__celerity_resource_map__.php @@ -814,14 +814,15 @@ celerity_register_resource_map(array( ), 'javelin-behavior-phabricator-keyboard-shortcuts' => array( - 'uri' => '/res/825c9eef/rsrc/js/application/core/behavior-keyboard-shortcuts.js', + 'uri' => '/res/06a151d8/rsrc/js/application/core/behavior-keyboard-shortcuts.js', 'type' => 'js', 'requires' => array( 0 => 'javelin-behavior', 1 => 'javelin-workflow', 2 => 'javelin-json', - 3 => 'phabricator-keyboard-shortcut', + 3 => 'javelin-dom', + 4 => 'phabricator-keyboard-shortcut', ), 'disk' => '/rsrc/js/application/core/behavior-keyboard-shortcuts.js', ), @@ -1981,7 +1982,7 @@ celerity_register_resource_map(array( 'uri' => '/res/pkg/78e8854e/core.pkg.css', 'type' => 'css', ), - 'c18634d0' => + '21d01ed8' => array( 'name' => 'core.pkg.js', 'symbols' => @@ -2000,7 +2001,7 @@ celerity_register_resource_map(array( 11 => 'phabricator-menu-item', 12 => 'phabricator-dropdown-menu', ), - 'uri' => '/res/pkg/c18634d0/core.pkg.js', + 'uri' => '/res/pkg/21d01ed8/core.pkg.js', 'type' => 'js', ), '1cb6883c' => @@ -2151,7 +2152,7 @@ celerity_register_resource_map(array( 'javelin-behavior-aphront-basic-tokenizer' => '2af849fb', 'javelin-behavior-aphront-drag-and-drop' => 'c42635d2', 'javelin-behavior-aphront-drag-and-drop-textarea' => 'c42635d2', - 'javelin-behavior-aphront-form-disable-on-submit' => 'c18634d0', + 'javelin-behavior-aphront-form-disable-on-submit' => '21d01ed8', 'javelin-behavior-buoyant' => 'c42635d2', 'javelin-behavior-differential-accept-with-errors' => 'c42635d2', 'javelin-behavior-differential-add-reviewers-and-ccs' => 'c42635d2', @@ -2167,17 +2168,17 @@ celerity_register_resource_map(array( 'javelin-behavior-maniphest-transaction-controls' => '86fc0b0c', 'javelin-behavior-maniphest-transaction-expand' => '86fc0b0c', 'javelin-behavior-maniphest-transaction-preview' => '86fc0b0c', - 'javelin-behavior-phabricator-autofocus' => 'c18634d0', - 'javelin-behavior-phabricator-keyboard-shortcuts' => 'c18634d0', + 'javelin-behavior-phabricator-autofocus' => '21d01ed8', + 'javelin-behavior-phabricator-keyboard-shortcuts' => '21d01ed8', 'javelin-behavior-phabricator-object-selector' => 'c42635d2', - 'javelin-behavior-phabricator-watch-anchor' => 'c18634d0', - 'javelin-behavior-refresh-csrf' => 'c18634d0', - 'javelin-behavior-workflow' => 'c18634d0', + 'javelin-behavior-phabricator-watch-anchor' => '21d01ed8', + 'javelin-behavior-refresh-csrf' => '21d01ed8', + 'javelin-behavior-workflow' => '21d01ed8', 'javelin-dom' => '4fbae2af', 'javelin-event' => '4fbae2af', 'javelin-install' => '4fbae2af', 'javelin-json' => '4fbae2af', - 'javelin-mask' => 'c18634d0', + 'javelin-mask' => '21d01ed8', 'javelin-request' => '4fbae2af', 'javelin-stratcom' => '4fbae2af', 'javelin-tokenizer' => '2af849fb', @@ -2189,7 +2190,7 @@ celerity_register_resource_map(array( 'javelin-uri' => '4fbae2af', 'javelin-util' => '4fbae2af', 'javelin-vector' => '4fbae2af', - 'javelin-workflow' => 'c18634d0', + 'javelin-workflow' => '21d01ed8', 'maniphest-task-detail-css' => '31583232', 'maniphest-task-summary-css' => '31583232', 'maniphest-transaction-detail-css' => '31583232', @@ -2199,13 +2200,13 @@ celerity_register_resource_map(array( 'phabricator-core-css' => '78e8854e', 'phabricator-directory-css' => '78e8854e', 'phabricator-drag-and-drop-file-upload' => 'c42635d2', - 'phabricator-dropdown-menu' => 'c18634d0', + 'phabricator-dropdown-menu' => '21d01ed8', 'phabricator-jump-nav' => '78e8854e', - 'phabricator-keyboard-shortcut' => 'c18634d0', - 'phabricator-keyboard-shortcut-manager' => 'c18634d0', - 'phabricator-menu-item' => 'c18634d0', + 'phabricator-keyboard-shortcut' => '21d01ed8', + 'phabricator-keyboard-shortcut-manager' => '21d01ed8', + 'phabricator-menu-item' => '21d01ed8', 'phabricator-object-selector-css' => '1cb6883c', - 'phabricator-paste-file-upload' => 'c18634d0', + 'phabricator-paste-file-upload' => '21d01ed8', 'phabricator-remarkup-css' => '78e8854e', 'phabricator-shaped-request' => 'c42635d2', 'phabricator-standard-page-view' => '78e8854e', diff --git a/webroot/rsrc/js/application/core/behavior-keyboard-shortcuts.js b/webroot/rsrc/js/application/core/behavior-keyboard-shortcuts.js index 65179c39c1..24b585ca4c 100644 --- a/webroot/rsrc/js/application/core/behavior-keyboard-shortcuts.js +++ b/webroot/rsrc/js/application/core/behavior-keyboard-shortcuts.js @@ -3,6 +3,7 @@ * @requires javelin-behavior * javelin-workflow * javelin-json + * javelin-dom * phabricator-keyboard-shortcut */