mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 01:02:42 +01:00
Extra white space in diviner
Test Plan: Go to http://phabricator.com/docs/phabricator/article/Adding_New_CSS_and_JS.html Text after examples should not be preformatted Reviewers: epriestley Reviewed By: epriestley CC: aran, epriestley Differential Revision: https://secure.phabricator.com/D1275
This commit is contained in:
parent
cce212dac7
commit
ce891cbf4e
1 changed files with 3 additions and 3 deletions
|
@ -44,7 +44,7 @@ rare and inadvisable in CSS), declare then with ##@requires##:
|
|||
JX.install('Duck', {
|
||||
...
|
||||
});
|
||||
|
||||
|
||||
Then rebuild the Celerity map (see the next section).
|
||||
|
||||
= Changing an Existing File =
|
||||
|
@ -53,7 +53,7 @@ When you add, move or remove a file, or change the contents of existing JS or
|
|||
CSS file, you should rebuild the Celerity map:
|
||||
|
||||
phabricator/ $ ./scripts/celerity_mapper.php ./webroot
|
||||
|
||||
|
||||
If you've only changed file content things will generally work even if you
|
||||
don't, but they might start not working as well in the future if you skip this
|
||||
step.
|
||||
|
@ -65,7 +65,7 @@ To include a CSS or JS file in a page, use
|
|||
|
||||
require_celerity_resource('duck-style-css');
|
||||
require_celerity_resource('duck');
|
||||
|
||||
|
||||
If your map is up to date, the resource should now be included correctly when
|
||||
the page is rendered.
|
||||
|
||||
|
|
Loading…
Reference in a new issue