/*jslint vars: true, plusplus: true, devel: true, nomen: true, regexp: true, indent: 4, maxerr: 50 */
/*global define, $, brackets, window */

/** Autosaves all files when leaving Brackets, a la PHPStorm */
define(function () {
    "use strict";
    
    var CommandManager = brackets.getModule('command/CommandManager');
    
    $(window).on('blur', function () {
        if (CommandManager.get('file.saveAll').getEnabled()) {
            CommandManager.execute("file.saveAll");
        }
    });
});

/*jslint vars: true, plusplus: true, devel: true, nomen: true, regexp: true, indent: 4, maxerr: 50 */
/*global define, $, brackets, window */

/** Autosaves all files when leaving Brackets, a la PHPStorm */
define(function () {
    "use strict";
    
    var CommandManager = brackets.getModule("command/CommandManager");
    
    $(window).on("blur", function () {
        if (CommandManager.get("file.saveAll").getEnabled()) {
            CommandManager.execute("file.saveAll");
        }
    });
});

Change all quotes to double for uniformity
Change all quotes to double for uniformity
