1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-18 12:52:42 +01:00

Fix another undefined variable

Summary: This variable is used before it is defined.

Test Plan: `arc lint`

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11434
This commit is contained in:
Joshua Spence 2015-01-20 08:54:48 +11:00
parent 98a8d44f11
commit a15852c112
2 changed files with 8 additions and 8 deletions

View file

@ -189,7 +189,7 @@ return array(
'rsrc/externals/javelin/ext/view/__tests__/View.js' => '6450b38b',
'rsrc/externals/javelin/ext/view/__tests__/ViewInterpreter.js' => '7a94d6a5',
'rsrc/externals/javelin/ext/view/__tests__/ViewRenderer.js' => '6ea96ac9',
'rsrc/externals/javelin/lib/Cookie.js' => '6b3dcf44',
'rsrc/externals/javelin/lib/Cookie.js' => '62dfea03',
'rsrc/externals/javelin/lib/DOM.js' => 'c8fd8db2',
'rsrc/externals/javelin/lib/History.js' => 'c60f4327',
'rsrc/externals/javelin/lib/JSON.js' => '69adf288',
@ -650,7 +650,7 @@ return array(
'javelin-behavior-view-placeholder' => '47830651',
'javelin-behavior-workflow' => '0a3f3021',
'javelin-color' => '7e41274a',
'javelin-cookie' => '6b3dcf44',
'javelin-cookie' => '62dfea03',
'javelin-diffusion-locate-file-source' => 'b42eddc7',
'javelin-dom' => 'c8fd8db2',
'javelin-dynval' => 'f6555212',
@ -1228,6 +1228,10 @@ return array(
'javelin-magical-init',
'javelin-util',
),
'62dfea03' => array(
'javelin-install',
'javelin-util',
),
'6453c869' => array(
'javelin-install',
'javelin-dom',
@ -1247,10 +1251,6 @@ return array(
'69adf288' => array(
'javelin-install',
),
'6b3dcf44' => array(
'javelin-install',
'javelin-util',
),
'6c2b09a2' => array(
'javelin-install',
'javelin-util',

View file

@ -82,8 +82,8 @@ JX.install('Cookie', {
cookie_bits.push('Secure');
}
cookie_str = cookie_bits.join('; ') + ';';
var cookie_str = this.getKey() + '=' + cookie_str;
var cookie_str = cookie_bits.join('; ') + ';';
cookie_str = this.getKey() + '=' + cookie_str;
this.getTarget().cookie = cookie_str;
},