push layout

This commit is contained in:
Leo Horie 2015-01-19 20:55:26 -05:00
parent fbb25f05ae
commit 4deeeb486b
37 changed files with 2289 additions and 2298 deletions

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Mithril</title>
<title>The Auto-Redrawing System - Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Mithril</title>
<title>Benchmarks - Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Mithril</title>
<title>Change Log - Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Mithril</title>
<title>Community - Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Mithril</title>
<title>How is Mithril Different from Other Frameworks - Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Mithril</title>
<title>Components - Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Mithril</title>
<title>Getting Started - Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Mithril</title>
<title>How to Read Signatures - Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Mithril</title>
<title><%= topic %>Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Mithril</title>
<title>Installation - Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Mithril</title>
<title>Integrating with Other Libraries - Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>

View file

@ -18,13 +18,13 @@ var m = (function app(window, undefined) {
initialize(window);
/*
/**
* @typedef {String} Tag
* A string that looks like -> div.classname#id[param=one][param2=two]
* Which describes a DOM node
*/
/*
/**
*
* @param {Tag} The DOM node tag
* @param {Object=[]} optional key-value pairs to be mapped to DOM attrs
@ -689,13 +689,10 @@ var m = (function app(window, undefined) {
var pairs = str.split("&"), params = {};
for (var i = 0, len = pairs.length; i < len; i++) {
var pair = pairs[i].split("=");
params[decodeSpace(pair[0])] = pair[1] ? decodeSpace(pair[1]) : ""
params[decodeURIComponent(pair[0])] = pair[1] ? decodeURIComponent(pair[1]) : ""
}
return params
}
function decodeSpace(string) {
return decodeURIComponent(string.replace(/\+/g, " "))
}
function reset(root) {
var cacheKey = getCellCacheKey(root);
clear(root.childNodes, cellCache[cacheKey]);

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Mithril</title>
<title>m.startComputation / m.endComputation - Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Mithril</title>
<title>m.deferred - Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Mithril</title>
<title>m.deps - Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Mithril</title>
<title>m - Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>

View file

@ -18,13 +18,13 @@ var m = (function app(window, undefined) {
initialize(window);
/*
/**
* @typedef {String} Tag
* A string that looks like -> div.classname#id[param=one][param2=two]
* Which describes a DOM node
*/
/*
/**
*
* @param {Tag} The DOM node tag
* @param {Object=[]} optional key-value pairs to be mapped to DOM attrs
@ -689,13 +689,10 @@ var m = (function app(window, undefined) {
var pairs = str.split("&"), params = {};
for (var i = 0, len = pairs.length; i < len; i++) {
var pair = pairs[i].split("=");
params[decodeSpace(pair[0])] = pair[1] ? decodeSpace(pair[1]) : ""
params[decodeURIComponent(pair[0])] = pair[1] ? decodeURIComponent(pair[1]) : ""
}
return params
}
function decodeSpace(string) {
return decodeURIComponent(string.replace(/\+/g, " "))
}
function reset(root) {
var cacheKey = getCellCacheKey(root);
clear(root.childNodes, cellCache[cacheKey]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Mithril</title>
<title>m.module - Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Mithril</title>
<title>m.prop - Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Mithril</title>
<title>m.redraw - Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Mithril</title>
<title>m.render - Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Mithril</title>
<title>m.request - Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>
@ -423,9 +423,6 @@ where:
<li><p><strong>String password</strong> (optional)</p>
<p>A password for HTTP authentication. Defaults to <code>undefined</code></p>
</li>
<li><p><strong>String password</strong> (optional)</p>
<p>A password for HTTP authentication. Defaults to <code>undefined</code></p>
</li>
<li><p><strong>Object<any> data</strong> (optional)</p>
<p>Data to be sent. It&#39;s automatically placed in the appropriate section of the request with the appropriate serialization based on <code>method</code></p>
</li>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Mithril</title>
<title>m.route - Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Mithril</title>
<title>m.sync - Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Mithril</title>
<title>m.trust - Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Mithril</title>
<title>m.withAttr - Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Mithril</title>
<title>Optimizing Performance - Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Mithril</title>
<title>How Should Code Be Organized - Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Mithril</title>
<title>Roadmap - Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Mithril</title>
<title>Routing - Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Mithril</title>
<title>Tools - Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Mithril</title>
<title>Web Services - Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>