ajaxorg/cloud9 — pull request #1519 by sergi (2012-05-14 09:47:16+00:00)
Title: Optimizations on auto-save setting checking in Revisions as suggested by...

Optimizations on auto-save setting checking in Revisions as suggested by @javruben

Changes:

- Instead of checking the settings model every time, now there is a variable `this.isAutoSaveEnabled` permanently set that gets set upon `settings.load` event
- `this.isAutoSaveEnabled` changes in case the settings changes, through `settings.save` event

Reviewers: @javruben, @janjongboom and @zefhemel