From de898ff77093d354dc7d7aa41f2b3005f60833c7 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Mon, 22 Aug 2011 23:39:23 -0700 Subject: [PATCH] not dirty on open --- HTML/atomicity.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/HTML/atomicity.coffee b/HTML/atomicity.coffee index 9d6c39797..9dee445cd 100644 --- a/HTML/atomicity.coffee +++ b/HTML/atomicity.coffee @@ -19,6 +19,7 @@ open = -> Chrome.title _.last filename.split('/') editor.getSession().setValue File.read filename setMode() + Chrome.setDirty false setMode = -> if /\.js$/.test filename editor.getSession().setMode new JavaScriptMode