Permalink
Browse files

updated code

  • Loading branch information...
1 parent 9caedf8 commit e45b1fb679519f7e659dbb32f4532028eee0ad0b Sidney Maestre committed Oct 3, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −1 index.html
  2. +1 −0 js/app.js
View
@@ -31,7 +31,7 @@
<script type="text/template" id="home">
<div data-role="header">
<a href="#add" data-role="button" data-icon="add">Add</a>
- <h1>StackMob BootStrap</h1>
+ <h1>StackMob ToDo</h1>
<a href="#login" data-role="button" data-icon="add">Login</a>
</div>
<div data-role="content"></div>
View
@@ -263,6 +263,7 @@ var myapp = {};
},
changePage:function (page,reverse) {
$(page.el).attr('data-role', 'page');
+
page.render();
$('body').append($(page.el));

0 comments on commit e45b1fb

Please sign in to comment.