11/*
22 * Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved.
3- *
3+ *
44 * Permission is hereby granted, free of charge, to any person obtaining a
5- * copy of this software and associated documentation files (the "Software"),
6- * to deal in the Software without restriction, including without limitation
7- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8- * and/or sell copies of the Software, and to permit persons to whom the
5+ * copy of this software and associated documentation files (the "Software"),
6+ * to deal in the Software without restriction, including without limitation
7+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8+ * and/or sell copies of the Software, and to permit persons to whom the
99 * Software is furnished to do so, subject to the following conditions:
10- *
10+ *
1111 * The above copyright notice and this permission notice shall be included in
1212 * all copies or substantial portions of the Software.
13- *
13+ *
1414 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1616 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
17+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
2020 * DEALINGS IN THE SOFTWARE.
21- *
21+ *
2222 */
2323
2424
@@ -142,7 +142,7 @@ define(function main(require, exports, module) {
142142
143143 /** Called on status change */
144144 function _showStatusChangeReason ( reason ) {
145- // Destroy the previous twipsy (options are not updated otherwise)
145+ // Destroy the previous twipsy (options are not updated otherwise)
146146 _$btnGoLive . twipsy ( "hide" ) . removeData ( "twipsy" ) ;
147147
148148 // If there was no reason or the action was an explicit request by the user, don't show a twipsy
@@ -178,7 +178,7 @@ define(function main(require, exports, module) {
178178 } ) ;
179179 $ ( LiveDevelopment ) . on ( "statusChange" , function statusChange ( event , status , reason ) {
180180 // status starts at -1 (error), so add one when looking up name and style
181- // See the comments at the top of LiveDevelopment.js for details on the
181+ // See the comments at the top of LiveDevelopment.js for details on the
182182 // various status codes.
183183 _setLabel ( _$btnGoLive , null , _statusStyle [ status + 1 ] , _statusTooltip [ status + 1 ] ) ;
184184 _showStatusChangeReason ( reason ) ;
@@ -195,7 +195,7 @@ define(function main(require, exports, module) {
195195 function _setupGoLiveMenu ( ) {
196196 $ ( LiveDevelopment ) . on ( "statusChange" , function statusChange ( event , status ) {
197197 // Update the checkmark next to 'Live Preview' menu item
198- // Add checkmark when status is STATUS_ACTIVE; otherwise remove it
198+ // Add checkmark when status is STATUS_ACTIVE; otherwise remove it
199199 CommandManager . get ( Commands . FILE_LIVE_FILE_PREVIEW ) . setChecked ( status === LiveDevelopment . STATUS_ACTIVE ) ;
200200 CommandManager . get ( Commands . FILE_LIVE_HIGHLIGHT ) . setEnabled ( status === LiveDevelopment . STATUS_ACTIVE ) ;
201201 } ) ;
@@ -257,8 +257,6 @@ define(function main(require, exports, module) {
257257
258258 // init prefs
259259 prefs = PreferencesManager . getPreferenceStorage ( module , { highlight : true } ) ;
260- //TODO: Remove preferences migration code
261- PreferencesManager . handleClientIdChange ( prefs , "com.adobe.brackets.live-development" ) ;
262260
263261 config . highlight = prefs . getValue ( "highlight" ) ;
264262
0 commit comments