diff --git a/app/controllers.js b/app/controllers.js index fbfd049..ffb5ad1 100644 --- a/app/controllers.js +++ b/app/controllers.js @@ -57,7 +57,7 @@ app.compose(function() { var html = app.get('html'); return { - clear: function (){ + clear: function () { this.viewElement.innerHTML = ''; }, display: function ( model) { diff --git a/app/views.js b/app/modelViews.js similarity index 100% rename from app/views.js rename to app/modelViews.js diff --git a/index.html b/index.html index 1bf5806..eef3795 100644 --- a/index.html +++ b/index.html @@ -25,7 +25,7 @@ - +