mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 12:52:42 +01:00
Fix an undefined variable
Summary: Identifed by linting with JSHint. Test Plan: `arc lint` Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11433
This commit is contained in:
parent
7bd2994c2e
commit
d6ed9c2f68
2 changed files with 7 additions and 8 deletions
|
@ -8,7 +8,7 @@
|
|||
return array(
|
||||
'names' => array(
|
||||
'core.pkg.css' => '8d1c0f87',
|
||||
'core.pkg.js' => 'd60876a7',
|
||||
'core.pkg.js' => '2d9bfc06',
|
||||
'darkconsole.pkg.js' => '8ab24e01',
|
||||
'differential.pkg.css' => '8af45893',
|
||||
'differential.pkg.js' => 'f437e70e',
|
||||
|
@ -193,7 +193,7 @@ return array(
|
|||
'rsrc/externals/javelin/lib/DOM.js' => 'c8fd8db2',
|
||||
'rsrc/externals/javelin/lib/History.js' => 'c60f4327',
|
||||
'rsrc/externals/javelin/lib/JSON.js' => '69adf288',
|
||||
'rsrc/externals/javelin/lib/Leader.js' => '9330f91b',
|
||||
'rsrc/externals/javelin/lib/Leader.js' => '331b1611',
|
||||
'rsrc/externals/javelin/lib/Mask.js' => '8a41885b',
|
||||
'rsrc/externals/javelin/lib/Request.js' => '94b750d2',
|
||||
'rsrc/externals/javelin/lib/Resource.js' => '44959b73',
|
||||
|
@ -659,7 +659,7 @@ return array(
|
|||
'javelin-history' => 'c60f4327',
|
||||
'javelin-install' => '05270951',
|
||||
'javelin-json' => '69adf288',
|
||||
'javelin-leader' => '9330f91b',
|
||||
'javelin-leader' => '331b1611',
|
||||
'javelin-magical-init' => '8c4e8f8b',
|
||||
'javelin-mask' => '8a41885b',
|
||||
'javelin-reactor' => '2b8de964',
|
||||
|
@ -1010,6 +1010,9 @@ return array(
|
|||
'javelin-install',
|
||||
'javelin-typeahead-source',
|
||||
),
|
||||
'331b1611' => array(
|
||||
'javelin-install',
|
||||
),
|
||||
'335470d7' => array(
|
||||
'javelin-behavior',
|
||||
'javelin-request',
|
||||
|
@ -1467,9 +1470,6 @@ return array(
|
|||
'phabricator-drag-and-drop-file-upload',
|
||||
'phabricator-textareautils',
|
||||
),
|
||||
'9330f91b' => array(
|
||||
'javelin-install',
|
||||
),
|
||||
'9414ff18' => array(
|
||||
'javelin-behavior',
|
||||
'javelin-resource',
|
||||
|
|
3
webroot/rsrc/externals/javelin/lib/Leader.js
vendored
3
webroot/rsrc/externals/javelin/lib/Leader.js
vendored
|
@ -97,6 +97,7 @@ JX.install('Leader', {
|
|||
* callback.
|
||||
*/
|
||||
_callIf: function(leader_callback, follower_callback) {
|
||||
var self = JX.Leader;
|
||||
|
||||
if (!window.localStorage) {
|
||||
// If we don't have localStorage, pretend we're the only tab.
|
||||
|
@ -105,8 +106,6 @@ JX.install('Leader', {
|
|||
return;
|
||||
}
|
||||
|
||||
var self = JX.Leader;
|
||||
|
||||
// If we don't have an ID for this tab yet, generate one and register
|
||||
// event listeners.
|
||||
if (!self._id) {
|
||||
|
|
Loading…
Reference in a new issue