diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php index eac0000185..3e0e10f56d 100644 --- a/src/__phutil_library_map__.php +++ b/src/__phutil_library_map__.php @@ -601,6 +601,8 @@ phutil_register_library_map(array( 'PhabricatorAuditReplyHandler' => 'applications/audit/PhabricatorAuditReplyHandler.php', 'PhabricatorAuditStatusConstants' => 'applications/audit/constants/PhabricatorAuditStatusConstants.php', 'PhabricatorAuthController' => 'applications/auth/controller/PhabricatorAuthController.php', + 'PhabricatorBarePageExample' => 'applications/uiexample/examples/PhabricatorBarePageExample.php', + 'PhabricatorBarePageView' => 'view/page/PhabricatorBarePageView.php', 'PhabricatorBaseEnglishTranslation' => 'infrastructure/internationalization/PhabricatorBaseEnglishTranslation.php', 'PhabricatorBlogSkin' => 'applications/phame/view/skins/PhabricatorBlogSkin.php', 'PhabricatorBuiltinPatchList' => 'infrastructure/storage/patch/PhabricatorBuiltinPatchList.php', @@ -1785,6 +1787,8 @@ phutil_register_library_map(array( 'PhabricatorAuditPreviewController' => 'PhabricatorAuditController', 'PhabricatorAuditReplyHandler' => 'PhabricatorMailReplyHandler', 'PhabricatorAuthController' => 'PhabricatorController', + 'PhabricatorBarePageExample' => 'PhabricatorUIExample', + 'PhabricatorBarePageView' => 'AphrontPageView', 'PhabricatorBaseEnglishTranslation' => 'PhabricatorTranslation', 'PhabricatorBlogSkin' => 'PhameBlogSkin', 'PhabricatorBuiltinPatchList' => 'PhabricatorSQLPatchList', @@ -2203,7 +2207,7 @@ phutil_register_library_map(array( 'PhabricatorSlugTestCase' => 'PhabricatorTestCase', 'PhabricatorSortTableExample' => 'PhabricatorUIExample', 'PhabricatorSourceCodeView' => 'AphrontView', - 'PhabricatorStandardPageView' => 'AphrontPageView', + 'PhabricatorStandardPageView' => 'PhabricatorBarePageView', 'PhabricatorStatusController' => 'PhabricatorController', 'PhabricatorStorageManagementDatabasesWorkflow' => 'PhabricatorStorageManagementWorkflow', 'PhabricatorStorageManagementDestroyWorkflow' => 'PhabricatorStorageManagementWorkflow', diff --git a/src/applications/uiexample/controller/PhabricatorUIExampleRenderController.php b/src/applications/uiexample/controller/PhabricatorUIExampleRenderController.php index 947cc12328..556871358b 100644 --- a/src/applications/uiexample/controller/PhabricatorUIExampleRenderController.php +++ b/src/applications/uiexample/controller/PhabricatorUIExampleRenderController.php @@ -48,8 +48,6 @@ final class PhabricatorUIExampleRenderController extends PhabricatorController { $selected = $nav->selectFilter($this->class, head_key($classes)); - require_celerity_resource('phabricator-ui-example-css'); - $example = $classes[$selected]; $example->setRequest($this->getRequest()); @@ -59,6 +57,8 @@ final class PhabricatorUIExampleRenderController extends PhabricatorController { return $result; } + require_celerity_resource('phabricator-ui-example-css'); + $nav->appendChild( '