Merge branch 'master' of github.com:thomaswilburn/Caret

This commit is contained in:
Thomas Wilburn 2015-04-11 08:35:23 -07:00
commit 6bbd5a3331
4 changed files with 6 additions and 3 deletions

View file

@ -44,6 +44,7 @@ module.exports = function(grunt) {
"js/**",
"css/*.css",//leave the LESS behind
"**/*.html",//both main.html and the templates
"templates/*",
"require.js",
"background.js",
"installer.js",

View file

@ -77,10 +77,12 @@
"autosaveOnBlur": false,
//If the editor jumps to the top on focus change, set this:
"disableReload": false,
//Set this to stop the editor from restoring the last set of tabs it had open
"disableTabRestore": false,
//Wildly eccentric? You might like Vim keybindings.
"emulateVim": false,
//Whether to show the "New file" tab button on the tab bar;
"showNewTabButton": false
}
}

View file

@ -20,7 +20,7 @@ define([
var autosave = function() {
status.toast(i18n.get("fileAutosaving"));
state.tabs.forEach(function(tab) {
if (tab.file && !tab.file.virtual) {
if (tab.file && !tab.file.virtual && tab.modified) {
tab.save();
}
});

View file

@ -1,7 +1,7 @@
{
"name": "Caret",
"description": "Professional text editing for Chrome and Chrome OS",
"version": "1.5.0",
"version": "1.5.1",
"manifest_version": 2,
"default_locale": "en",
"icons": {