This commit is contained in:
syuilo
2017-02-20 10:34:57 +09:00
parent 7791431717
commit 91d8ee5a52
101 changed files with 423 additions and 423 deletions

View File

@ -111,13 +111,13 @@
this.session = this.opts.session
this.app = @session.app
cancel() {
this.cancel = () => {
this.api 'auth/deny' do
token: @session.token
.then =>
this.trigger('denied');
accept() {
this.accept = () => {
this.api 'auth/accept' do
token: @session.token
.then =>

View File

@ -127,7 +127,7 @@
this.state = 'fetch-session-error'
this.update();
accepted() {
this.accepted = () => {
this.state = 'accepted'
this.update();