Skip to content

Commit

Permalink
refactored the whole application and reorganized the code to match th…
Browse files Browse the repository at this point in the history
…e suggested JMVC app structure
  • Loading branch information
juristr committed Aug 31, 2012
1 parent c3381bc commit 9562999
Show file tree
Hide file tree
Showing 12 changed files with 581 additions and 513 deletions.
206 changes: 0 additions & 206 deletions labs/architecture-examples/javascriptmvc/todo/controllers/todolist.js

This file was deleted.

5 changes: 2 additions & 3 deletions labs/architecture-examples/javascriptmvc/todo/index.html
Expand Up @@ -25,7 +25,7 @@ <h1>todos</h1>
<span id="todo-count"><strong>0</strong> items left</span>
<ul id="filters">
<li>
<a class="selected" href="#!">All</a>
<a class="selected" href="#!/">All</a>
</li>
<li>
<a href="#!/active">Active</a>
Expand All @@ -42,8 +42,7 @@ <h1>todos</h1>
<p>Original implementation by <a href="http://javascriptmvc.com/">Justin Meyer</a></p>
<p>Fixes and upgrade to latest JavaScriptMVC version by <a href="http://www.js-development.com">Juri Strumpflohner</a></p>
</footer>

<script src="../../../../assets/base.js"></script>

<script type='text/javascript' src='../steal/steal.js?todo/todo.js'></script>
</body>
</html>
7 changes: 3 additions & 4 deletions labs/architecture-examples/javascriptmvc/todo/production.html
Expand Up @@ -8,7 +8,7 @@
<link rel="stylesheet" type="text/css" href="../../../../assets/base.css">
<!--[if IE]>
<script src="../../../../assets/ie.js"></script>
<![endif]-->
<![endif]-->
</head>
<body>
<section id="todoapp">
Expand All @@ -25,7 +25,7 @@ <h1>todos</h1>
<span id="todo-count"><strong>0</strong> items left</span>
<ul id="filters">
<li>
<a class="selected" href="#!">All</a>
<a class="selected" href="#!/">All</a>
</li>
<li>
<a href="#!/active">Active</a>
Expand All @@ -42,8 +42,7 @@ <h1>todos</h1>
<p>Original implementation by <a href="http://javascriptmvc.com/">Justin Meyer</a></p>
<p>Fixes and upgrade to latest JavaScriptMVC version by <a href="http://www.js-development.com">Juri Strumpflohner</a></p>
</footer>

<script src="../../../../assets/base.js"></script>

<!--
Note, this file is completely the same as
the index.html with the difference of the steal instruction
Expand Down

0 comments on commit 9562999

Please sign in to comment.