Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15377289
D18049.id43408.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
24 KB
Referenced Files
None
Subscribers
None
D18049.id43408.diff
View Options
diff --git a/resources/celerity/map.php b/resources/celerity/map.php
--- a/resources/celerity/map.php
+++ b/resources/celerity/map.php
@@ -452,7 +452,6 @@
'rsrc/js/application/transactions/behavior-transaction-list.js' => '1f6794f6',
'rsrc/js/application/typeahead/behavior-typeahead-browse.js' => '635de1ec',
'rsrc/js/application/typeahead/behavior-typeahead-search.js' => '93d0c9e3',
- 'rsrc/js/application/uiexample/JavelinViewExample.js' => 'd4a14807',
'rsrc/js/application/uiexample/ReactorButtonExample.js' => 'd19198c8',
'rsrc/js/application/uiexample/ReactorCheckboxExample.js' => '519705ea',
'rsrc/js/application/uiexample/ReactorFocusExample.js' => '40a6a403',
@@ -462,7 +461,6 @@
'rsrc/js/application/uiexample/ReactorSelectExample.js' => 'a155550f',
'rsrc/js/application/uiexample/ReactorSendClassExample.js' => '1def2711',
'rsrc/js/application/uiexample/ReactorSendPropertiesExample.js' => 'b1f0ccee',
- 'rsrc/js/application/uiexample/busy-example.js' => '60479091',
'rsrc/js/application/uiexample/gesture-example.js' => '558829c2',
'rsrc/js/application/uiexample/notification-example.js' => '8ce821c5',
'rsrc/js/core/Busy.js' => '59a7976a',
@@ -653,7 +651,6 @@
'javelin-behavior-passphrase-credential-control' => '3cb0b2fc',
'javelin-behavior-phabricator-active-nav' => 'e379b58e',
'javelin-behavior-phabricator-autofocus' => '7319e029',
- 'javelin-behavior-phabricator-busy-example' => '60479091',
'javelin-behavior-phabricator-file-tree' => '88236f00',
'javelin-behavior-phabricator-gesture' => '3ab51e2c',
'javelin-behavior-phabricator-gesture-example' => '558829c2',
@@ -808,7 +805,6 @@
'phabricator-title' => '485aaa6c',
'phabricator-tooltip' => '358b8c04',
'phabricator-ui-example-css' => '528b19de',
- 'phabricator-uiexample-javelin-view' => 'd4a14807',
'phabricator-uiexample-reactor-button' => 'd19198c8',
'phabricator-uiexample-reactor-checkbox' => '519705ea',
'phabricator-uiexample-reactor-focus' => '40a6a403',
@@ -1375,10 +1371,6 @@
'phabricator-prefab',
'javelin-json',
),
- 60479091 => array(
- 'phabricator-busy',
- 'javelin-behavior',
- ),
'60821bc7' => array(
'javelin-behavior',
'javelin-stratcom',
@@ -2029,11 +2021,6 @@
'javelin-uri',
'javelin-util',
),
- 'd4a14807' => array(
- 'javelin-install',
- 'javelin-dom',
- 'javelin-view',
- ),
'd4eecc63' => array(
'javelin-behavior',
'javelin-dom',
diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php
--- a/src/__phutil_library_map__.php
+++ b/src/__phutil_library_map__.php
@@ -1393,10 +1393,7 @@
'HeraldTranscriptTestCase' => 'applications/herald/storage/__tests__/HeraldTranscriptTestCase.php',
'HeraldUtilityActionGroup' => 'applications/herald/action/HeraldUtilityActionGroup.php',
'Javelin' => 'infrastructure/javelin/Javelin.php',
- 'JavelinReactorUIExample' => 'applications/uiexample/examples/JavelinReactorUIExample.php',
- 'JavelinUIExample' => 'applications/uiexample/examples/JavelinUIExample.php',
'JavelinViewExampleServerView' => 'applications/uiexample/examples/JavelinViewExampleServerView.php',
- 'JavelinViewUIExample' => 'applications/uiexample/examples/JavelinViewUIExample.php',
'LegalpadController' => 'applications/legalpad/controller/LegalpadController.php',
'LegalpadCreateDocumentsCapability' => 'applications/legalpad/capability/LegalpadCreateDocumentsCapability.php',
'LegalpadDAO' => 'applications/legalpad/storage/LegalpadDAO.php',
@@ -2144,7 +2141,6 @@
'PhabricatorBadgesTransactionComment' => 'applications/badges/storage/PhabricatorBadgesTransactionComment.php',
'PhabricatorBadgesTransactionQuery' => 'applications/badges/query/PhabricatorBadgesTransactionQuery.php',
'PhabricatorBadgesViewController' => 'applications/badges/controller/PhabricatorBadgesViewController.php',
- 'PhabricatorBarePageUIExample' => 'applications/uiexample/examples/PhabricatorBarePageUIExample.php',
'PhabricatorBarePageView' => 'view/page/PhabricatorBarePageView.php',
'PhabricatorBaseURISetupCheck' => 'applications/config/check/PhabricatorBaseURISetupCheck.php',
'PhabricatorBcryptPasswordHasher' => 'infrastructure/util/password/PhabricatorBcryptPasswordHasher.php',
@@ -2159,7 +2155,6 @@
'PhabricatorBuiltinDraftEngine' => 'applications/transactions/draft/PhabricatorBuiltinDraftEngine.php',
'PhabricatorBuiltinPatchList' => 'infrastructure/storage/patch/PhabricatorBuiltinPatchList.php',
'PhabricatorBulkContentSource' => 'infrastructure/daemon/contentsource/PhabricatorBulkContentSource.php',
- 'PhabricatorBusyUIExample' => 'applications/uiexample/examples/PhabricatorBusyUIExample.php',
'PhabricatorCacheDAO' => 'applications/cache/storage/PhabricatorCacheDAO.php',
'PhabricatorCacheEngine' => 'applications/system/engine/PhabricatorCacheEngine.php',
'PhabricatorCacheEngineExtension' => 'applications/system/engine/PhabricatorCacheEngineExtension.php',
@@ -3028,7 +3023,6 @@
'PhabricatorLiskFulltextEngineExtension' => 'applications/search/engineextension/PhabricatorLiskFulltextEngineExtension.php',
'PhabricatorLiskSearchEngineExtension' => 'applications/search/engineextension/PhabricatorLiskSearchEngineExtension.php',
'PhabricatorLiskSerializer' => 'infrastructure/storage/lisk/PhabricatorLiskSerializer.php',
- 'PhabricatorListFilterUIExample' => 'applications/uiexample/examples/PhabricatorListFilterUIExample.php',
'PhabricatorLocalDiskFileStorageEngine' => 'applications/files/engine/PhabricatorLocalDiskFileStorageEngine.php',
'PhabricatorLocalTimeTestCase' => 'view/__tests__/PhabricatorLocalTimeTestCase.php',
'PhabricatorLocaleScopeGuard' => 'infrastructure/internationalization/scope/PhabricatorLocaleScopeGuard.php',
@@ -3994,7 +3988,6 @@
'PhabricatorSlowvoteVoteController' => 'applications/slowvote/controller/PhabricatorSlowvoteVoteController.php',
'PhabricatorSlug' => 'infrastructure/util/PhabricatorSlug.php',
'PhabricatorSlugTestCase' => 'infrastructure/util/__tests__/PhabricatorSlugTestCase.php',
- 'PhabricatorSortTableUIExample' => 'applications/uiexample/examples/PhabricatorSortTableUIExample.php',
'PhabricatorSourceCodeView' => 'view/layout/PhabricatorSourceCodeView.php',
'PhabricatorSpaceEditField' => 'applications/transactions/editfield/PhabricatorSpaceEditField.php',
'PhabricatorSpacesApplication' => 'applications/spaces/application/PhabricatorSpacesApplication.php',
@@ -4158,7 +4151,6 @@
'PhabricatorTokensCurtainExtension' => 'applications/tokens/engineextension/PhabricatorTokensCurtainExtension.php',
'PhabricatorTokensSettingsPanel' => 'applications/settings/panel/PhabricatorTokensSettingsPanel.php',
'PhabricatorTokensToken' => 'applications/tokens/storage/PhabricatorTokensToken.php',
- 'PhabricatorTooltipUIExample' => 'applications/uiexample/examples/PhabricatorTooltipUIExample.php',
'PhabricatorTransactionChange' => 'applications/transactions/data/PhabricatorTransactionChange.php',
'PhabricatorTransactionRemarkupChange' => 'applications/transactions/data/PhabricatorTransactionRemarkupChange.php',
'PhabricatorTransactions' => 'applications/transactions/constants/PhabricatorTransactions.php',
@@ -6479,10 +6471,7 @@
'HeraldTranscriptTestCase' => 'PhabricatorTestCase',
'HeraldUtilityActionGroup' => 'HeraldActionGroup',
'Javelin' => 'Phobject',
- 'JavelinReactorUIExample' => 'PhabricatorUIExample',
- 'JavelinUIExample' => 'PhabricatorUIExample',
'JavelinViewExampleServerView' => 'AphrontView',
- 'JavelinViewUIExample' => 'PhabricatorUIExample',
'LegalpadController' => 'PhabricatorController',
'LegalpadCreateDocumentsCapability' => 'PhabricatorPolicyCapability',
'LegalpadDAO' => 'PhabricatorLiskDAO',
@@ -7338,7 +7327,6 @@
'PhabricatorBadgesTransactionComment' => 'PhabricatorApplicationTransactionComment',
'PhabricatorBadgesTransactionQuery' => 'PhabricatorApplicationTransactionQuery',
'PhabricatorBadgesViewController' => 'PhabricatorBadgesProfileController',
- 'PhabricatorBarePageUIExample' => 'PhabricatorUIExample',
'PhabricatorBarePageView' => 'AphrontPageView',
'PhabricatorBaseURISetupCheck' => 'PhabricatorSetupCheck',
'PhabricatorBcryptPasswordHasher' => 'PhabricatorPasswordHasher',
@@ -7353,7 +7341,6 @@
'PhabricatorBuiltinDraftEngine' => 'PhabricatorDraftEngine',
'PhabricatorBuiltinPatchList' => 'PhabricatorSQLPatchList',
'PhabricatorBulkContentSource' => 'PhabricatorContentSource',
- 'PhabricatorBusyUIExample' => 'PhabricatorUIExample',
'PhabricatorCacheDAO' => 'PhabricatorLiskDAO',
'PhabricatorCacheEngine' => 'Phobject',
'PhabricatorCacheEngineExtension' => 'Phobject',
@@ -8354,7 +8341,6 @@
'PhabricatorLiskFulltextEngineExtension' => 'PhabricatorFulltextEngineExtension',
'PhabricatorLiskSearchEngineExtension' => 'PhabricatorSearchEngineExtension',
'PhabricatorLiskSerializer' => 'Phobject',
- 'PhabricatorListFilterUIExample' => 'PhabricatorUIExample',
'PhabricatorLocalDiskFileStorageEngine' => 'PhabricatorFileStorageEngine',
'PhabricatorLocalTimeTestCase' => 'PhabricatorTestCase',
'PhabricatorLocaleScopeGuard' => 'Phobject',
@@ -9519,7 +9505,6 @@
'PhabricatorSlowvoteVoteController' => 'PhabricatorSlowvoteController',
'PhabricatorSlug' => 'Phobject',
'PhabricatorSlugTestCase' => 'PhabricatorTestCase',
- 'PhabricatorSortTableUIExample' => 'PhabricatorUIExample',
'PhabricatorSourceCodeView' => 'AphrontView',
'PhabricatorSpaceEditField' => 'PhabricatorEditField',
'PhabricatorSpacesApplication' => 'PhabricatorApplication',
@@ -9700,7 +9685,6 @@
'PhabricatorFlaggableInterface',
'PhabricatorConduitResultInterface',
),
- 'PhabricatorTooltipUIExample' => 'PhabricatorUIExample',
'PhabricatorTransactionChange' => 'Phobject',
'PhabricatorTransactionRemarkupChange' => 'PhabricatorTransactionChange',
'PhabricatorTransactions' => 'Phobject',
diff --git a/src/applications/uiexample/examples/JavelinReactorUIExample.php b/src/applications/uiexample/examples/JavelinReactorUIExample.php
deleted file mode 100644
--- a/src/applications/uiexample/examples/JavelinReactorUIExample.php
+++ /dev/null
@@ -1,95 +0,0 @@
-<?php
-
-final class JavelinReactorUIExample extends PhabricatorUIExample {
-
- public function getName() {
- return pht('Javelin Reactor');
- }
-
- public function getDescription() {
- return pht('Lots of code');
- }
-
- public function renderExample() {
- $rows = array();
-
- $examples = array(
- array(
- pht('Reactive button only generates a stream of events'),
- 'ReactorButtonExample',
- 'phabricator-uiexample-reactor-button',
- array(),
- ),
- array(
- pht('Reactive checkbox generates a boolean dynamic value'),
- 'ReactorCheckboxExample',
- 'phabricator-uiexample-reactor-checkbox',
- array('checked' => true),
- ),
- array(
- pht('Reactive focus detector generates a boolean dynamic value'),
- 'ReactorFocusExample',
- 'phabricator-uiexample-reactor-focus',
- array(),
- ),
- array(
- pht('Reactive input box, with normal and calmed output'),
- 'ReactorInputExample',
- 'phabricator-uiexample-reactor-input',
- array('init' => 'Initial value'),
- ),
- array(
- pht('Reactive mouseover detector generates a boolean dynamic value'),
- 'ReactorMouseoverExample',
- 'phabricator-uiexample-reactor-mouseover',
- array(),
- ),
- array(
- pht('Reactive radio buttons generate a string dynamic value'),
- 'ReactorRadioExample',
- 'phabricator-uiexample-reactor-radio',
- array(),
- ),
- array(
- pht('Reactive select box generates a string dynamic value'),
- 'ReactorSelectExample',
- 'phabricator-uiexample-reactor-select',
- array(),
- ),
- array(
- pht(
- '%s makes the class of an element a string dynamic value',
- 'sendclass'),
- 'ReactorSendClassExample',
- 'phabricator-uiexample-reactor-sendclass',
- array(),
- ),
- array(
- pht(
- '%s makes some properties of an object into dynamic values',
- 'sendproperties'),
- 'ReactorSendPropertiesExample',
- 'phabricator-uiexample-reactor-sendproperties',
- array(),
- ),
- );
-
- foreach ($examples as $example) {
- list($desc, $name, $resource, $params) = $example;
- $template = new AphrontJavelinView();
- $template
- ->setName($name)
- ->setParameters($params)
- ->setCelerityResource($resource);
- $rows[] = array($desc, $template->render());
- }
-
- $table = new AphrontTableView($rows);
-
- $panel = new PHUIObjectBoxView();
- $panel->setHeaderText(pht('Example'));
- $panel->appendChild($table);
-
- return $panel;
- }
-}
diff --git a/src/applications/uiexample/examples/JavelinUIExample.php b/src/applications/uiexample/examples/JavelinUIExample.php
deleted file mode 100644
--- a/src/applications/uiexample/examples/JavelinUIExample.php
+++ /dev/null
@@ -1,66 +0,0 @@
-<?php
-
-final class JavelinUIExample extends PhabricatorUIExample {
-
- public function getName() {
- return pht('Javelin UI');
- }
-
- public function getDescription() {
- return pht('Here are some Javelin UI elements that you could use.');
- }
-
- public function renderExample() {
- $request = $this->getRequest();
- $user = $request->getUser();
-
- // toggle-class
-
- $container_id = celerity_generate_unique_node_id();
- $button_red_id = celerity_generate_unique_node_id();
- $button_blue_id = celerity_generate_unique_node_id();
-
- $button_red = javelin_tag(
- 'a',
- array(
- 'class' => 'button',
- 'sigil' => 'jx-toggle-class',
- 'href' => '#',
- 'id' => $button_red_id,
- 'meta' => array(
- 'map' => array(
- $container_id => 'jxui-red-border',
- $button_red_id => 'jxui-active',
- ),
- ),
- ),
- pht('Toggle Red Border'));
-
- $button_blue = javelin_tag(
- 'a',
- array(
- 'class' => 'button jxui-active',
- 'sigil' => 'jx-toggle-class',
- 'href' => '#',
- 'id' => $button_blue_id,
- 'meta' => array(
- 'state' => true,
- 'map' => array(
- $container_id => 'jxui-blue-background',
- $button_blue_id => 'jxui-active',
- ),
- ),
- ),
- pht('Toggle Blue Background'));
-
- $div = phutil_tag(
- 'div',
- array(
- 'id' => $container_id,
- 'class' => 'jxui-example-container jxui-blue-background',
- ),
- array($button_red, $button_blue));
-
- return array($div);
- }
-}
diff --git a/src/applications/uiexample/examples/JavelinViewUIExample.php b/src/applications/uiexample/examples/JavelinViewUIExample.php
deleted file mode 100644
--- a/src/applications/uiexample/examples/JavelinViewUIExample.php
+++ /dev/null
@@ -1,45 +0,0 @@
-<?php
-
-final class JavelinViewUIExample extends PhabricatorUIExample {
-
- public function getName() {
- return pht('Javelin Views');
- }
-
- public function getDescription() {
- return pht('Mix and match client and server views.');
- }
-
- public function renderExample() {
-
- $request = $this->getRequest();
-
- $init = $request->getStr('init');
-
- $parent_server_template = new JavelinViewExampleServerView();
-
- $parent_client_template = new AphrontJavelinView();
- $parent_client_template
- ->setName('JavelinViewExample')
- ->setCelerityResource('phabricator-uiexample-javelin-view');
-
- $child_server_template = new JavelinViewExampleServerView();
-
- $child_client_template = new AphrontJavelinView();
- $child_client_template
- ->setName('JavelinViewExample')
- ->setCelerityResource('phabricator-uiexample-javelin-view');
-
- $parent_server_template->appendChild($parent_client_template);
- $parent_client_template->appendChild($child_server_template);
- $child_server_template->appendChild($child_client_template);
- $child_client_template->appendChild(pht('Hey, it worked.'));
-
- $panel = new PHUIObjectBoxView();
- $panel->setHeaderText(pht('Example'));
- $panel->appendChild(
- phutil_tag_div('ml', $parent_server_template));
-
- return $panel;
- }
-}
diff --git a/src/applications/uiexample/examples/PhabricatorBarePageUIExample.php b/src/applications/uiexample/examples/PhabricatorBarePageUIExample.php
deleted file mode 100644
--- a/src/applications/uiexample/examples/PhabricatorBarePageUIExample.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-
-final class PhabricatorBarePageUIExample extends PhabricatorUIExample {
-
- public function getName() {
- return pht('Bare Page');
- }
-
- public function getDescription() {
- return pht('This is a bare page.');
- }
-
- public function renderExample() {
- $view = new PhabricatorBarePageView();
- $view->appendChild(
- phutil_tag(
- 'h1',
- array(),
- $this->getDescription()));
-
- $response = new AphrontWebpageResponse();
- $response->setContent($view->render());
- return $response;
- }
-}
diff --git a/src/applications/uiexample/examples/PhabricatorBusyUIExample.php b/src/applications/uiexample/examples/PhabricatorBusyUIExample.php
deleted file mode 100644
--- a/src/applications/uiexample/examples/PhabricatorBusyUIExample.php
+++ /dev/null
@@ -1,17 +0,0 @@
-<?php
-
-final class PhabricatorBusyUIExample extends PhabricatorUIExample {
-
- public function getName() {
- return pht('Busy');
- }
-
- public function getDescription() {
- return pht('Busy.');
- }
-
- public function renderExample() {
- Javelin::initBehavior('phabricator-busy-example');
- return null;
- }
-}
diff --git a/src/applications/uiexample/examples/PhabricatorListFilterUIExample.php b/src/applications/uiexample/examples/PhabricatorListFilterUIExample.php
deleted file mode 100644
--- a/src/applications/uiexample/examples/PhabricatorListFilterUIExample.php
+++ /dev/null
@@ -1,35 +0,0 @@
-<?php
-
-final class PhabricatorListFilterUIExample extends PhabricatorUIExample {
-
- public function getName() {
- return pht('ListFilter');
- }
-
- public function getDescription() {
- return pht(
- 'Use %s to layout controls for filtering '.
- 'and manipulating lists of objects.',
- phutil_tag('tt', array(), 'AphrontListFilterView'));
- }
-
- public function renderExample() {
-
- $filter = new AphrontListFilterView();
-
- $form = new AphrontFormView();
- $form->setUser($this->getRequest()->getUser());
- $form
- ->appendChild(
- id(new AphrontFormTextControl())
- ->setLabel(pht('Query')))
- ->appendChild(
- id(new AphrontFormSubmitControl())
- ->setValue(pht('Search')));
-
- $filter->appendChild($form);
-
-
- return $filter;
- }
-}
diff --git a/src/applications/uiexample/examples/PhabricatorSortTableUIExample.php b/src/applications/uiexample/examples/PhabricatorSortTableUIExample.php
deleted file mode 100644
--- a/src/applications/uiexample/examples/PhabricatorSortTableUIExample.php
+++ /dev/null
@@ -1,96 +0,0 @@
-<?php
-
-final class PhabricatorSortTableUIExample extends PhabricatorUIExample {
-
- public function getName() {
- return pht('Sortable Tables');
- }
-
- public function getDescription() {
- return pht('Using sortable tables.');
- }
-
- public function renderExample() {
-
- $rows = array(
- array(
- 'make' => 'Honda',
- 'model' => 'Civic',
- 'year' => 2004,
- 'price' => 3199,
- 'color' => pht('Blue'),
- ),
- array(
- 'make' => 'Ford',
- 'model' => 'Focus',
- 'year' => 2001,
- 'price' => 2549,
- 'color' => pht('Red'),
- ),
- array(
- 'make' => 'Toyota',
- 'model' => 'Camry',
- 'year' => 2009,
- 'price' => 4299,
- 'color' => pht('Black'),
- ),
- array(
- 'make' => 'NASA',
- 'model' => 'Shuttle',
- 'year' => 1998,
- 'price' => 1000000000,
- 'color' => pht('White'),
- ),
- );
-
- $request = $this->getRequest();
-
- $orders = array(
- 'make',
- 'model',
- 'year',
- 'price',
- );
-
- $sort = $request->getStr('sort');
- list($sort, $reverse) = AphrontTableView::parseSort($sort);
- if (!in_array($sort, $orders)) {
- $sort = 'make';
- }
-
- $rows = isort($rows, $sort);
- if ($reverse) {
- $rows = array_reverse($rows);
- }
-
- $table = new AphrontTableView($rows);
- $table->setHeaders(
- array(
- pht('Make'),
- pht('Model'),
- pht('Year'),
- pht('Price'),
- pht('Color'),
- ));
- $table->setColumnClasses(
- array(
- '',
- 'wide',
- 'n',
- 'n',
- '',
- ));
- $table->makeSortable(
- $request->getRequestURI(),
- 'sort',
- $sort,
- $reverse,
- $orders);
-
- $panel = new PHUIObjectBoxView();
- $panel->setHeaderText(pht('Sortable Table of Vehicles'));
- $panel->setTable($table);
-
- return $panel;
- }
-}
diff --git a/src/applications/uiexample/examples/PhabricatorTooltipUIExample.php b/src/applications/uiexample/examples/PhabricatorTooltipUIExample.php
deleted file mode 100644
--- a/src/applications/uiexample/examples/PhabricatorTooltipUIExample.php
+++ /dev/null
@@ -1,102 +0,0 @@
-<?php
-
-final class PhabricatorTooltipUIExample extends PhabricatorUIExample {
-
- public function getName() {
- return pht('Tooltips');
- }
-
- public function getDescription() {
- return pht(
- 'Use %s to create tooltips.',
- phutil_tag('tt', array(), 'JX.Tooltip'));
- }
-
- public function renderExample() {
-
- Javelin::initBehavior('phabricator-tooltips');
- require_celerity_resource('aphront-tooltip-css');
-
- $style = 'width: 200px; '.
- 'text-align: center; '.
- 'margin: 20px; '.
- 'background: #dfdfdf; '.
- 'padding: 20px 10px; '.
- 'border: 1px solid black; ';
-
- $lorem = <<<EOTEXT
-Lorem ipsum dolor sit amet, consectetur adipiscing elit.
-EOTEXT;
-
- $overflow = str_repeat('M', 1024);
-
- $metas = array(
- 'hi' => array(
- 'tip' => 'Hi',
- ),
- 'lorem (north)' => array(
- 'tip' => $lorem,
- ),
- 'lorem (east)' => array(
- 'tip' => $lorem,
- 'align' => 'E',
- ),
- 'lorem (south)' => array(
- 'tip' => $lorem,
- 'align' => 'S',
- ),
- 'lorem (west)' => array(
- 'tip' => $lorem,
- 'align' => 'W',
- ),
- 'lorem (large, north)' => array(
- 'tip' => $lorem,
- 'size' => 300,
- ),
- 'lorem (large, east)' => array(
- 'tip' => $lorem,
- 'size' => 300,
- 'align' => 'E',
- ),
- 'lorem (large, west)' => array(
- 'tip' => $lorem,
- 'size' => 300,
- 'align' => 'W',
- ),
- 'lorem (large, south)' => array(
- 'tip' => $lorem,
- 'size' => 300,
- 'align' => 'S',
- ),
- 'overflow (north)' => array(
- 'tip' => $overflow,
- ),
- 'overflow (east)' => array(
- 'tip' => $overflow,
- 'align' => 'E',
- ),
- 'overflow (south)' => array(
- 'tip' => $overflow,
- 'align' => 'S',
- ),
- 'overflow (west)' => array(
- 'tip' => $overflow,
- 'align' => 'W',
- ),
- );
-
- $content = array();
- foreach ($metas as $key => $meta) {
- $content[] = javelin_tag(
- 'div',
- array(
- 'sigil' => 'has-tooltip',
- 'meta' => $meta,
- 'style' => $style,
- ),
- $key);
- }
-
- return $content;
- }
-}
diff --git a/webroot/rsrc/js/application/uiexample/JavelinViewExample.js b/webroot/rsrc/js/application/uiexample/JavelinViewExample.js
deleted file mode 100644
--- a/webroot/rsrc/js/application/uiexample/JavelinViewExample.js
+++ /dev/null
@@ -1,19 +0,0 @@
-/**
- * @provides phabricator-uiexample-javelin-view
- * @requires javelin-install
- * javelin-dom
- * javelin-view
- */
-
-JX.install('JavelinViewExample', {
- extend: 'View',
- members: {
- render: function(rendered_children) {
- return JX.$N(
- 'div',
- { className: 'client-view' },
- rendered_children
- );
- }
- }
-});
diff --git a/webroot/rsrc/js/application/uiexample/busy-example.js b/webroot/rsrc/js/application/uiexample/busy-example.js
deleted file mode 100644
--- a/webroot/rsrc/js/application/uiexample/busy-example.js
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * @provides javelin-behavior-phabricator-busy-example
- * @requires phabricator-busy
- * javelin-behavior
- */
-
-JX.behavior('phabricator-busy-example', function() {
- JX.Busy.start();
-});
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 14, 8:33 AM (2 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7385800
Default Alt Text
D18049.id43408.diff (24 KB)
Attached To
Mode
D18049: Remove some old UIExamples
Attached
Detach File
Event Timeline
Log In to Comment