commit | b7886b9c65b2d1636dabd0526465c8775d8e300b | [log] [tgz] |
---|---|---|
author | Shawn Pearce <sop@google.com> | Sat Jul 06 19:06:04 2013 -0700 |
committer | Shawn Pearce <sop@google.com> | Sat Jul 06 19:06:04 2013 -0700 |
tree | 653ce7797aac2295f5bd936f07cf37fe7b4f795c | |
parent | 3227f3d80c75442b0bedbdec0567c56c1644ef24 [diff] |
Only load drafts in CodeMirrorDemo for signed in users Drafts are not supported for anonymous users, as there is no way to identify them and keep the draft private. Only call the drafts() API to load drafts if the user is signed in, and only support the "c" keybindings if the user is signed in. Change-Id: I8eedc8bd8e18f2c379b362f1f0cad9c85ed508a5