diff --git a/archive/v0.1.13/installation.html b/archive/v0.1.13/installation.html
index 777ddf6d..748ed95a 100644
--- a/archive/v0.1.13/installation.html
+++ b/archive/v0.1.13/installation.html
@@ -2,7 +2,6 @@
Mithril
-
diff --git a/archive/v0.1.13/integration.html b/archive/v0.1.13/integration.html
index 758dfaab..e6ac72d3 100644
--- a/archive/v0.1.13/integration.html
+++ b/archive/v0.1.13/integration.html
@@ -2,7 +2,6 @@
Mithril
-
diff --git a/archive/v0.1.13/mithril.computation.html b/archive/v0.1.13/mithril.computation.html
index 53cd91d1..ed05eebd 100644
--- a/archive/v0.1.13/mithril.computation.html
+++ b/archive/v0.1.13/mithril.computation.html
@@ -2,7 +2,6 @@
Mithril
-
diff --git a/archive/v0.1.13/mithril.deferred.html b/archive/v0.1.13/mithril.deferred.html
index 698f01e9..9abe643b 100644
--- a/archive/v0.1.13/mithril.deferred.html
+++ b/archive/v0.1.13/mithril.deferred.html
@@ -2,7 +2,6 @@
Mithril
-
diff --git a/archive/v0.1.13/mithril.html b/archive/v0.1.13/mithril.html
index b89c9014..14a57be9 100644
--- a/archive/v0.1.13/mithril.html
+++ b/archive/v0.1.13/mithril.html
@@ -2,7 +2,6 @@
Mithril
-
diff --git a/archive/v0.1.13/mithril.min.zip b/archive/v0.1.13/mithril.min.zip
index 45c98869..36e58522 100644
Binary files a/archive/v0.1.13/mithril.min.zip and b/archive/v0.1.13/mithril.min.zip differ
diff --git a/archive/v0.1.13/mithril.module.html b/archive/v0.1.13/mithril.module.html
index 2745f613..f08cbe1a 100644
--- a/archive/v0.1.13/mithril.module.html
+++ b/archive/v0.1.13/mithril.module.html
@@ -2,7 +2,6 @@
Mithril
-
diff --git a/archive/v0.1.13/mithril.prop.html b/archive/v0.1.13/mithril.prop.html
index 71f03ed9..4b8021dd 100644
--- a/archive/v0.1.13/mithril.prop.html
+++ b/archive/v0.1.13/mithril.prop.html
@@ -2,7 +2,6 @@
Mithril
-
diff --git a/archive/v0.1.13/mithril.redraw.html b/archive/v0.1.13/mithril.redraw.html
index d9f31a25..4b4ddfd0 100644
--- a/archive/v0.1.13/mithril.redraw.html
+++ b/archive/v0.1.13/mithril.redraw.html
@@ -2,7 +2,6 @@
Mithril
-
diff --git a/archive/v0.1.13/mithril.render.html b/archive/v0.1.13/mithril.render.html
index df0fbb86..5486b03a 100644
--- a/archive/v0.1.13/mithril.render.html
+++ b/archive/v0.1.13/mithril.render.html
@@ -2,7 +2,6 @@
Mithril
-
diff --git a/archive/v0.1.13/mithril.request.html b/archive/v0.1.13/mithril.request.html
index f9b75a40..27b784b5 100644
--- a/archive/v0.1.13/mithril.request.html
+++ b/archive/v0.1.13/mithril.request.html
@@ -2,7 +2,6 @@
Mithril
-
diff --git a/archive/v0.1.13/mithril.route.html b/archive/v0.1.13/mithril.route.html
index 2af6d4b4..69317e53 100644
--- a/archive/v0.1.13/mithril.route.html
+++ b/archive/v0.1.13/mithril.route.html
@@ -2,7 +2,6 @@
Mithril
-
diff --git a/archive/v0.1.13/mithril.sync.html b/archive/v0.1.13/mithril.sync.html
index 43f66490..8a5f6108 100644
--- a/archive/v0.1.13/mithril.sync.html
+++ b/archive/v0.1.13/mithril.sync.html
@@ -2,7 +2,6 @@
Mithril
-
diff --git a/archive/v0.1.13/mithril.trust.html b/archive/v0.1.13/mithril.trust.html
index 4aa3e91c..1e5d5612 100644
--- a/archive/v0.1.13/mithril.trust.html
+++ b/archive/v0.1.13/mithril.trust.html
@@ -2,7 +2,6 @@
Mithril
-
diff --git a/archive/v0.1.13/mithril.withAttr.html b/archive/v0.1.13/mithril.withAttr.html
index f2c926fd..92f04f9f 100644
--- a/archive/v0.1.13/mithril.withAttr.html
+++ b/archive/v0.1.13/mithril.withAttr.html
@@ -2,7 +2,6 @@
Mithril
-
diff --git a/archive/v0.1.13/mithril.xhr.html b/archive/v0.1.13/mithril.xhr.html
index 35ec8495..013ea4aa 100644
--- a/archive/v0.1.13/mithril.xhr.html
+++ b/archive/v0.1.13/mithril.xhr.html
@@ -2,7 +2,6 @@
Mithril
-
diff --git a/archive/v0.1.13/pages.json b/archive/v0.1.13/pages.json
index 788db1c5..e915b6ac 100644
--- a/archive/v0.1.13/pages.json
+++ b/archive/v0.1.13/pages.json
@@ -1,4 +1,6 @@
[
{"title": "Getting Started", "url": "getting-started.html"},
-{"title": "Documentation", "url": "mithril.html"}
+{"title": "Documentation", "url": "mithril.html"},
+{"title": "Mithril Blog", "url": "http://lhorie.github.io/mithril-blog/"},
+{"title": "Mailing List", "url": "https://groups.google.com/forum/#!forum/mithriljs"}
]
\ No newline at end of file
diff --git a/archive/v0.1.13/practices.html b/archive/v0.1.13/practices.html
index 3eccb669..668de6ab 100644
--- a/archive/v0.1.13/practices.html
+++ b/archive/v0.1.13/practices.html
@@ -2,7 +2,6 @@
Mithril
-
diff --git a/archive/v0.1.13/refactoring.html b/archive/v0.1.13/refactoring.html
index ffa5f4aa..f2fe99ca 100644
--- a/archive/v0.1.13/refactoring.html
+++ b/archive/v0.1.13/refactoring.html
@@ -2,7 +2,6 @@
Mithril
-
diff --git a/archive/v0.1.13/roadmap.html b/archive/v0.1.13/roadmap.html
index 54204e70..9375e4fc 100644
--- a/archive/v0.1.13/roadmap.html
+++ b/archive/v0.1.13/roadmap.html
@@ -2,7 +2,6 @@
Mithril
-
diff --git a/archive/v0.1.13/routing.html b/archive/v0.1.13/routing.html
index 40d1904e..f9e134b3 100644
--- a/archive/v0.1.13/routing.html
+++ b/archive/v0.1.13/routing.html
@@ -2,7 +2,6 @@
Mithril
-
diff --git a/archive/v0.1.13/style.css b/archive/v0.1.13/style.css
index d24d0aaa..8c92cac2 100644
--- a/archive/v0.1.13/style.css
+++ b/archive/v0.1.13/style.css
@@ -28,10 +28,10 @@ nav a {color:#fff;display:inline-block;padding:10px;}
nav a:visited {color:#ddd;}
footer {text-align:center;padding:10px 0;}
footer,footer a,footer a:visited {color:#fff;}
-h1,h2 {font-family:Palatino;margin:0 0 10px;}
-h1 {font-size:3em;text-shadow:0.024em 0.024em #777, -0.024em -0.024em #fff;}
+h1,h2 {font-family:Verdana;margin:0 0 10px;}
+h1 {font-size:3em;}
h1 span {animation:logo 2s;display:inline-block;-webkit-animation:logo 2s;}
-h2 {color:#888;font-style:italic;}
+h2 {color:#888;font-weight:normal;}
h3 {margin:10px 0;}
p {margin:15px 0;}
ul {margin:15px 0;padding:0 0 0 1em;}
@@ -55,11 +55,11 @@ linear-gradient(#ededed 25%, #eaeaea 25%, #eaeaea 50%, rgba(255,255,255,0) 50%,
background-color: #e3e3e3;
background-size: 20px 20px;
}
-.logo {color:#d3d3d3;font-family:Georgia;font-style:italic;}
+.logo {color:#5a5;font-family:Georgia;font-style:italic;}
.logo span {font-family:Arial;font-style:normal;}
.logo :before {content:"\25CB";position:absolute;margin:-0.17em 0 0 -0.10em;}
.logo :after {content:"\25CB";position:absolute;margin:-0.17em 0 0 -0.5em;}
-.button,.button:visited {background:#5a5;border-radius:5px;box-shadow:1px 1px #777, -1px -1px #fff;color:#fff;display:inline-block;font:normal bold 16px Helvetica;margin:0 10px 10px;padding:10px 30px;text-decoration:none;}
+.button,.button:visited {background:#5a5;color:#fff;display:inline-block;font:normal bold 16px Helvetica;margin:0 10px 10px;padding:10px 30px;text-decoration:none;}
.features {background:#fff;padding:30px 0 0;}
.feature {margin:0 0 30px;padding:0 20px 0 0;}
.sample {background:#f5f5f5;padding:30px 0 10px;}
@@ -69,11 +69,12 @@ background-size: 20px 20px;
.more {background:#ddd;padding:30px 0;}
.output a,.more a {display:block;margin:0 0 10px;}
.output a:after,.more a:after {content:" \bb";}
-.performance {background:#fff;padding:30px 0;}
+.performance,.socialmedia {background:#fff;padding:30px 0;}
.performance td:first-child {text-align:right;width:1%;}
.bar {background:red;height:4px;float:left;margin:0.5em 1em 0 0;}
.security {background:#f5f5f5;padding:30px 0;}
.success {color:#383;}
+.callout {background:#84db84;padding:1em;}
.error {color:#f00;}
.content {background:#f5f5f5;padding:30px 0;}
diff --git a/archive/v0.1.13/tools.html b/archive/v0.1.13/tools.html
index ef68cd45..15060885 100644
--- a/archive/v0.1.13/tools.html
+++ b/archive/v0.1.13/tools.html
@@ -2,7 +2,6 @@
Mithril
-
diff --git a/archive/v0.1.13/web-services.html b/archive/v0.1.13/web-services.html
index aa1b0141..ea866836 100644
--- a/archive/v0.1.13/web-services.html
+++ b/archive/v0.1.13/web-services.html
@@ -2,7 +2,6 @@
Mithril
-
diff --git a/background.html b/background.html
new file mode 100644
index 00000000..8b2dec9b
--- /dev/null
+++ b/background.html
@@ -0,0 +1,13 @@
+
+
\ No newline at end of file
diff --git a/chain.html b/chain.html
new file mode 100644
index 00000000..1cd5a7e7
--- /dev/null
+++ b/chain.html
@@ -0,0 +1,98 @@
+
+
+
+
Don't break the chain
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/community.md b/docs/community.md
index fbbc99c7..11705c51 100644
--- a/docs/community.md
+++ b/docs/community.md
@@ -1,11 +1,5 @@
## Community
-### Projects and Snippets
-
-A collection of projects and snippets created by Mithril users. A great place to find useful tools.
-
-Go to the [Mithril wiki](https://github.com/lhorie/mithril.js/wiki/Community-Projects-and-Snippets)
-
### Blog
Read Mithril tutorials and articles about web app development. Join the discussion!
@@ -22,6 +16,14 @@ Feel free to post on the [mailing list](https://groups.google.com/forum/#!forum/
---
+### Projects and Snippets
+
+A collection of projects and snippets created by Mithril users. A great place to find useful tools.
+
+Go to the [Mithril wiki](https://github.com/lhorie/mithril.js/wiki/Community-Projects-and-Snippets)
+
+---
+
### Bug Tracker
You can file bugs in the [issues page on Github](https://github.com/lhorie/mithril.js/issues?state=open)
\ No newline at end of file
diff --git a/docs/layout/api.html b/docs/layout/api.html
index b938f048..5be15b26 100644
--- a/docs/layout/api.html
+++ b/docs/layout/api.html
@@ -2,7 +2,6 @@
Mithril
-
diff --git a/docs/layout/guide.html b/docs/layout/guide.html
index 99172e1c..16c7015b 100644
--- a/docs/layout/guide.html
+++ b/docs/layout/guide.html
@@ -2,7 +2,6 @@
Mithril
-
diff --git a/docs/layout/index.html b/docs/layout/index.html
index dcd5b92f..f7a04e0c 100644
--- a/docs/layout/index.html
+++ b/docs/layout/index.html
@@ -2,7 +2,6 @@
Mithril
-
@@ -40,6 +39,10 @@
+
+
What is Mithril?
+
Mithril is a client-side MVC framework - a tool to organize code in a way that is easy to think about and to maintain.
+
Light-weight
@@ -83,13 +86,20 @@ app.PageList = function() {
//controller
app.controller = function() {
this.pages = app.PageList();
+
+ this.rotate = function() {
+ this.pages.push(this.pages.shift())
+ }.bind(this)
};
//view
app.view = function(ctrl) {
- return ctrl.pages().map(function(page) {
- return m("a", {href: page.url}, page.title);
- });
+ return [
+ ctrl.pages().map(function(page) {
+ return m("a", {href: page.url}, page.title);
+ }),
+ m("a", {onclick: ctrl.rotate}, "Rotate links")
+ ];
};
//initialize
@@ -99,10 +109,6 @@ m.module(document.getElementById("example"), app);
+
+
+
Want to hear more?
+
Subscribe to the Mithril blog. It's updated weekly with articles about how to use Mithril (and Javascript in general) to their full potential.
+
There's also a mailing list, where you can post questions and discuss Mithril related topics.
+
+
+
+