mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 23:02:42 +01:00
Apply some linter auto-fixes
Summary: A few minor fixes, applied by `arc lint --everything --apply-patches`. Test Plan: N/A Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D10120
This commit is contained in:
parent
bb022d2376
commit
c4586664b3
3 changed files with 3 additions and 5 deletions
|
@ -14,13 +14,13 @@ abstract class DoorkeeperFeedStoryPublisher {
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Render story text using contextual langauge to identify the object the
|
* Render story text using contextual language to identify the object the
|
||||||
* story is about, instead of the full object name. For example, without
|
* story is about, instead of the full object name. For example, without
|
||||||
* contextual language a story might render like this:
|
* contextual language a story might render like this:
|
||||||
*
|
*
|
||||||
* alincoln created D123: Chop Wood for Log Cabin v2.0
|
* alincoln created D123: Chop Wood for Log Cabin v2.0
|
||||||
*
|
*
|
||||||
* With contextual langauge, it will render like this instead:
|
* With contextual language, it will render like this instead:
|
||||||
*
|
*
|
||||||
* alincoln created this revision.
|
* alincoln created this revision.
|
||||||
*
|
*
|
||||||
|
|
|
@ -107,5 +107,3 @@ function phabricator_format_local_time($epoch, $user, $format) {
|
||||||
|
|
||||||
return PhutilTranslator::getInstance()->translateDate($format, $date);
|
return PhutilTranslator::getInstance()->translateDate($format, $date);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -85,7 +85,7 @@ JX.behavior('aphront-form-disable-on-submit', function() {
|
||||||
});
|
});
|
||||||
|
|
||||||
JX.Stratcom.listen('unload', null, function() {
|
JX.Stratcom.listen('unload', null, function() {
|
||||||
// Reenable everything on page unload so we don't bfcache back to a page
|
// Re-enable everything on page unload so we don't bfcache back to a page
|
||||||
// that has disabled forms.
|
// that has disabled forms.
|
||||||
for (var ii = 0; ii < restore.length; ii++) {
|
for (var ii = 0; ii < restore.length; ii++) {
|
||||||
restore[ii].disabled = '';
|
restore[ii].disabled = '';
|
||||||
|
|
Loading…
Reference in a new issue