refactor redraw
This commit is contained in:
parent
0f5d051d4b
commit
7295b6e9e9
6 changed files with 26 additions and 9 deletions
|
|
@ -89,7 +89,7 @@ app.controller = function() {
|
|||
this.pages = app.PageList();
|
||||
|
||||
this.rotate = function() {
|
||||
this.pages.push(this.pages.shift())
|
||||
this.pages().push(this.pages().shift())
|
||||
}.bind(this)
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue