Disabling autosave?


#1

How can we disable autosave.js for a particular package?

I am getting:

Uncaught TypeError: Object #<MyPackageView> has no method ‘getModel’ … autosave.js:14

But I really don’t want to save the view.


#2

Turns out you can just do:

class MyPackageView extends ScrollView
  ...
  
  getModel: ->
    # don't return anything

Seems dirty though…