mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-26 15:30:58 +01:00
Fix str
being defined as a global variable
Summary: This variable should be local, not global. This silences a few JSHint warnings. Test Plan: `arc lint` Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11068
This commit is contained in:
parent
fdd1357ce2
commit
6b17a5a6ca
2 changed files with 8 additions and 8 deletions
|
@ -383,7 +383,7 @@ return array(
|
|||
'rsrc/js/application/herald/herald-rule-editor.js' => '7ebaeed3',
|
||||
'rsrc/js/application/maniphest/behavior-batch-editor.js' => 'f24f3253',
|
||||
'rsrc/js/application/maniphest/behavior-batch-selector.js' => '7b98d7c5',
|
||||
'rsrc/js/application/maniphest/behavior-line-chart.js' => '22e16ae7',
|
||||
'rsrc/js/application/maniphest/behavior-line-chart.js' => 'b07b009f',
|
||||
'rsrc/js/application/maniphest/behavior-list-edit.js' => 'a9f88de2',
|
||||
'rsrc/js/application/maniphest/behavior-subpriorityeditor.js' => '84845b5b',
|
||||
'rsrc/js/application/maniphest/behavior-transaction-controls.js' => '44168bad',
|
||||
|
@ -587,7 +587,7 @@ return array(
|
|||
'javelin-behavior-konami' => '5bc2cb21',
|
||||
'javelin-behavior-launch-icon-composer' => '48086888',
|
||||
'javelin-behavior-lightbox-attachments' => 'f8ba29d7',
|
||||
'javelin-behavior-line-chart' => '22e16ae7',
|
||||
'javelin-behavior-line-chart' => 'b07b009f',
|
||||
'javelin-behavior-load-blame' => '42126667',
|
||||
'javelin-behavior-maniphest-batch-editor' => 'f24f3253',
|
||||
'javelin-behavior-maniphest-batch-selector' => '7b98d7c5',
|
||||
|
@ -950,11 +950,6 @@ return array(
|
|||
'javelin-workflow',
|
||||
'javelin-util',
|
||||
),
|
||||
'22e16ae7' => array(
|
||||
'javelin-behavior',
|
||||
'javelin-dom',
|
||||
'javelin-vector',
|
||||
),
|
||||
'2926fff2' => array(
|
||||
'javelin-behavior',
|
||||
'javelin-dom',
|
||||
|
@ -1512,6 +1507,11 @@ return array(
|
|||
'javelin-dom',
|
||||
'javelin-vector',
|
||||
),
|
||||
'b07b009f' => array(
|
||||
'javelin-behavior',
|
||||
'javelin-dom',
|
||||
'javelin-vector',
|
||||
),
|
||||
'b1f0ccee' => array(
|
||||
'javelin-install',
|
||||
'javelin-dom',
|
||||
|
|
|
@ -49,7 +49,7 @@ JX.behavior('line-chart', function(config) {
|
|||
text[k].attr({text: ''});
|
||||
} else {
|
||||
var cur = text[k].attr('text');
|
||||
str = format(cur, config.xformat);
|
||||
var str = format(cur, config.xformat);
|
||||
text[k].attr({text: str});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue