From 551823ecc4966e6687ba57bbbfb26250b8202c1a Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Wed, 14 Jan 2015 07:03:48 +1100 Subject: [PATCH] Fix variable reference Summary: What do you think this is, PHP? Test Plan: Eyeball it. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11361 --- resources/celerity/map.php | 12 ++++++------ webroot/rsrc/externals/javelin/lib/WebSocket.js | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/resources/celerity/map.php b/resources/celerity/map.php index 9a8228e82c..4ce63ad05e 100644 --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -8,7 +8,7 @@ return array( 'names' => array( 'core.pkg.css' => '60a6d241', - 'core.pkg.js' => '61af8961', + 'core.pkg.js' => '3db1b544', 'darkconsole.pkg.js' => '8ab24e01', 'differential.pkg.css' => '8af45893', 'differential.pkg.js' => 'dad3622f', @@ -201,7 +201,7 @@ return array( 'rsrc/externals/javelin/lib/Router.js' => '29274e2b', 'rsrc/externals/javelin/lib/URI.js' => '6eff08aa', 'rsrc/externals/javelin/lib/Vector.js' => 'cc1bd0b0', - 'rsrc/externals/javelin/lib/WebSocket.js' => '897b80bf', + 'rsrc/externals/javelin/lib/WebSocket.js' => '16d40bb9', 'rsrc/externals/javelin/lib/Workflow.js' => 'd149e002', 'rsrc/externals/javelin/lib/__tests__/Cookie.js' => '5ed109e8', 'rsrc/externals/javelin/lib/__tests__/DOM.js' => 'c984504b', @@ -687,7 +687,7 @@ return array( 'javelin-view-interpreter' => '0c33c1a0', 'javelin-view-renderer' => '6c2b09a2', 'javelin-view-visitor' => 'efe49472', - 'javelin-websocket' => '897b80bf', + 'javelin-websocket' => '16d40bb9', 'javelin-workflow' => 'd149e002', 'lightbox-attachment-css' => '7acac05d', 'maniphest-batch-editor' => '8f380ebc', @@ -951,6 +951,9 @@ return array( 'javelin-request', 'javelin-util', ), + '16d40bb9' => array( + 'javelin-install', + ), '1ae869f2' => array( 'javelin-install', 'javelin-util', @@ -1392,9 +1395,6 @@ return array( 'javelin-view-interpreter', 'javelin-view-renderer', ), - '897b80bf' => array( - 'javelin-install', - ), '8a41885b' => array( 'javelin-install', 'javelin-dom', diff --git a/webroot/rsrc/externals/javelin/lib/WebSocket.js b/webroot/rsrc/externals/javelin/lib/WebSocket.js index 6dd8749e12..a7f5d1a864 100644 --- a/webroot/rsrc/externals/javelin/lib/WebSocket.js +++ b/webroot/rsrc/externals/javelin/lib/WebSocket.js @@ -96,7 +96,7 @@ JX.install('WebSocket', { * Close the connection. */ close: function() { - if (!$this._isOpen) { + if (!this._isOpen) { return; } this._shouldClose = true;