Rebuilt docs
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 89f7cbe · Browse files · 9 files·+206 added−28 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
9 files+206 added−28 removed
- other:+206 added−28 removed
Provenance
- Commit
2724ce3- Tree
07480e2- Author
Tj Holowaychuk <tj@vision-media.ca>- Committer
Tj Holowaychuk <tj@vision-media.ca>- Parent
89f7cbe
9 files changed+206 added−28 removed
modified:docs/api.html+95 added-10 removed
392 unmodified lines393 <span class="variable">path</span> = <span class="variable">require</span>(<span class="string">'path'</span>),394 <span class="variable">pump</span> = <span class="variable">require</span>(<span class="string">'sys'</span>).<span class="variable">pump</span>,395 <span class="variable">utils</span> = <span class="variable">require</span>(<span class="string">'connect/utils'</span>),396 <span class="variable">mime</span> = <span class="variable">require</span>(<span class="string">'connect/utils'</span>).<span class="variable">mime</span>,397+ <span class="variable">parseRange</span> = <span class="variable">require</span>(<span class="string">'./utils'</span>).<span class="variable">parseRange</span>,398 <span class="class">Buffer</span> = <span class="variable">require</span>(<span class="string">'buffer'</span>).<span class="class">Buffer</span>;</code></pre>399 </td>400 </tr>401 <tr class="code">113 unmodified lines515 </td>516 <td class="code">517 <pre><code><span class="variable">http</span>.<span class="class">ServerResponse</span>.<span class="variable">prototype</span>.<span class="variable">sendfile</span> = <span class="keyword">function</span>(<span class="variable">path</span>, <span class="variable">fn</span>){518 <span class="keyword">var</span> <span class="variable">self</span> = <span class="this">this</span>,518- <span class="variable">streamThreshold</span> = <span class="this">this</span>.<span class="variable">app</span>.<span class="variable">set</span>(<span class="string">'stream threshold'</span>) || <span class="number integer">32</span> * <span class="number integer">1024</span>;519+ <span class="variable">streamThreshold</span> = <span class="this">this</span>.<span class="variable">app</span>.<span class="variable">set</span>(<span class="string">'stream threshold'</span>) || <span class="number integer">32</span> * <span class="number integer">1024</span>,520+ <span class="variable">ranges</span> = <span class="variable">self</span>.<span class="variable">req</span>.<span class="variable">headers</span>.<span class="variable">range</span>;521 522 <span class="keyword">if</span> (~<span class="variable">path</span>.<span class="variable">indexOf</span>(<span class="string">'..'</span>)) <span class="this">this</span>.<span class="variable">send</span>(<span class="number integer">403</span>);523 524 <span class="keyword">function</span> <span class="variable">error</span>(<span class="variable">err</span>) {7 unmodified lines532 533 <span class="variable">fs</span>.<span class="variable">stat</span>(<span class="variable">path</span>, <span class="keyword">function</span>(<span class="variable">err</span>, <span class="variable">stat</span>){534 <span class="keyword">if</span> (<span class="variable">err</span>) <span class="keyword">return</span> <span class="variable">error</span>(<span class="variable">err</span>);535 <span class="keyword">if</span> (<span class="variable">stat</span>.<span class="variable">size</span> &<span class="variable">gt</span>;= <span class="variable">streamThreshold</span>) {536+ <span class="keyword">var</span> <span class="variable">status</span> = <span class="number integer">200</span>;537+ <span class="keyword">if</span> (<span class="variable">ranges</span>) <span class="variable">ranges</span> = <span class="variable">parseRange</span>(<span class="variable">stat</span>.<span class="variable">size</span>, <span class="variable">ranges</span>);538+ <span class="keyword">if</span> (<span class="variable">ranges</span>) {539+ <span class="keyword">var</span> <span class="variable">stream</span> = <span class="variable">fs</span>.<span class="variable">createReadStream</span>(<span class="variable">path</span>, <span class="variable">ranges</span>[<span class="number integer">0</span>]),540+ <span class="variable">start</span> = <span class="variable">ranges</span>[<span class="number integer">0</span>].<span class="variable">start</span>,541+ <span class="variable">end</span> = <span class="variable">ranges</span>[<span class="number integer">0</span>].<span class="variable">end</span>;542+ <span class="variable">status</span> = <span class="number integer">206</span>;543+ <span class="variable">self</span>.<span class="variable">header</span>(<span class="string">'Content-Range'</span>, <span class="string">'bytes '</span>544+ + <span class="variable">start</span>545+ + <span class="string">'-'</span>546+ + <span class="variable">end</span>547+ + <span class="string">'/'</span>548+ + <span class="variable">stat</span>.<span class="variable">size</span>);549+ <span class="variable">self</span>.<span class="variable">header</span>(<span class="string">'Content-Length'</span>, <span class="variable">end</span> - <span class="variable">start</span> + <span class="number integer">1</span>);550+ } <span class="keyword">else</span> {534- <span class="keyword">var</span> <span class="variable">stream</span> = <span class="variable">fs</span>.<span class="variable">createReadStream</span>(<span class="variable">path</span>);551+ <span class="keyword">var</span> <span class="variable">stream</span> = <span class="variable">fs</span>.<span class="variable">createReadStream</span>(<span class="variable">path</span>);552+ <span class="variable">self</span>.<span class="variable">header</span>(<span class="string">'Content-Length'</span>, <span class="variable">stat</span>.<span class="variable">size</span>);553+ }554 <span class="variable">self</span>.<span class="variable">contentType</span>(<span class="variable">path</span>);536- <span class="variable">self</span>.<span class="variable">header</span>(<span class="string">'Content-Length'</span>, <span class="variable">stat</span>.<span class="variable">size</span>);537- <span class="variable">self</span>.<span class="variable">writeHead</span>(<span class="number integer">200</span>, <span class="variable">self</span>.<span class="variable">headers</span>);555+ <span class="variable">self</span>.<span class="variable">header</span>(<span class="string">'Accept-Ranges'</span>, <span class="string">'bytes'</span>);556+ <span class="variable">self</span>.<span class="variable">writeHead</span>(<span class="variable">status</span>, <span class="variable">self</span>.<span class="variable">headers</span>);557 <span class="variable">pump</span>(<span class="variable">stream</span>, <span class="variable">self</span>, <span class="keyword">function</span>(<span class="variable">err</span>){558 <span class="variable">fn</span> &<span class="variable">amp</span>;&<span class="variable">amp</span>; <span class="variable">fn</span>(<span class="variable">err</span>, <span class="variable">path</span>, <span class="variable">true</span>);559 });560 } <span class="keyword">else</span> {229 unmodified lines790 791 <span class="comment">// Default "home" to / </span>792 <span class="this">this</span>.<span class="variable">set</span>(<span class="string">'home'</span>, <span class="string">'/'</span>);793 775- <span class="comment">// Set "env" to EXPRESS_ENV or connectEnv.name</span>776- <span class="this">this</span>.<span class="variable">set</span>(<span class="string">'env'</span>,777- <span class="variable">process</span>.<span class="variable">env</span>.<span class="class">EXPRESS_ENV</span> ||778- <span class="variable">process</span>.<span class="variable">connectEnv</span>.<span class="variable">name</span>);794+ <span class="comment">// DEPRECATED: remove in 1.0</span>795+ <span class="keyword">if</span> (<span class="variable">process</span>.<span class="variable">env</span>.<span class="class">EXPRESS_ENV</span>) {796+ <span class="variable">process</span>.<span class="variable">env</span>.<span class="class">NODE_ENV</span> = <span class="variable">process</span>.<span class="variable">env</span>.<span class="class">EXPRESS_ENV</span>;797+ <span class="variable">console</span>.<span class="variable">warn</span>(<span class="string">'\x1b[33mWarning\x1b[0m: EXPRESS_ENV is deprecated, use NODE_ENV.'</span>);798+ }799 800+ <span class="comment">// Set "env" to NODE_ENV</span>801+ <span class="this">this</span>.<span class="variable">set</span>(<span class="string">'env'</span>, <span class="variable">process</span>.<span class="variable">env</span>.<span class="class">NODE_ENV</span>);802+803 <span class="comment">// Expose objects to each other</span>804 <span class="this">this</span>.<span class="variable">use</span>(<span class="keyword">function</span>(<span class="variable">req</span>, <span class="variable">res</span>, <span class="variable">next</span>){805 <span class="variable">req</span>.<span class="variable">query</span> = {};806 <span class="variable">res</span>.<span class="variable">headers</span> = {};306 unmodified lines1113 <a href="B">A</a> becomes <a href="B">A</a></p>1114 1115 <h2></h2>1116 1094-<ul><li><p><strong>param</strong>: <em>String</em> str</p></li><li><p><strong>return</strong>: <em>String</em> </p></li><li><p><strong>api</strong>: <em>public</em></p></li></ul>1117+<ul><li><p><strong>param</strong>: <em>String</em> str</p></li><li><p><strong>return</strong>: <em>String</em> </p></li><li><p><strong>api</strong>: <em>private</em></p></li></ul>1118 </td>1119 <td class="code">1120 <pre><code><span class="variable">exports</span>.<span class="variable">miniMarkdown</span> = <span class="keyword">function</span>(<span class="variable">str</span>){1121 <span class="keyword">return</span> <span class="class">String</span>(<span class="variable">str</span>)8 unmodified lines1130 <p>Escape special characters in the given string of html.</p>1131 1132 <h2></h2>1133 1111-<ul><li><p><strong>param</strong>: <em>String</em> html</p></li><li><p><strong>return</strong>: <em>String</em> </p></li><li><p><strong>api</strong>: <em>public</em></p></li></ul>1134+<ul><li><p><strong>param</strong>: <em>String</em> html</p></li><li><p><strong>return</strong>: <em>String</em> </p></li><li><p><strong>api</strong>: <em>private</em></p></li></ul>1135 </td>1136 <td class="code">1137 <pre><code><span class="variable">exports</span>.<span class="variable">htmlEscape</span> = <span class="keyword">function</span>(<span class="variable">html</span>) {1138 <span class="keyword">return</span> <span class="class">String</span>(<span class="variable">html</span>)2 unmodified lines1141 .<span class="variable">replace</span>(<span class="regexp">/</g</span>, <span class="string">'<'</span>)1142 .<span class="variable">replace</span>(<span class="regexp">/>/g</span>, <span class="string">'>'</span>);1143 };</code></pre>1144 </td>1145+</tr>1146+<tr class="code">1147+<td class="docs">1148+<p>Parse "Range" header <code>str</code> relative to the given file <code>size</code>.</p>1149+1150+<h2></h2>1151+1152+<ul><li><p><strong>param</strong>: <em>Number</em> size</p></li><li><p><strong>param</strong>: <em>String</em> str</p></li><li><p><strong>return</strong>: <em>Array</em> </p></li><li><p><strong>api</strong>: <em>private</em></p></li></ul>1153+</td>1154+<td class="code">1155+<pre><code><span class="variable">exports</span>.<span class="variable">parseRange</span> = <span class="keyword">function</span>(<span class="variable">size</span>, <span class="variable">str</span>){1156+ <span class="keyword">var</span> <span class="variable">valid</span> = <span class="variable">true</span>;1157+ <span class="keyword">var</span> <span class="variable">arr</span> = <span class="variable">str</span>.<span class="variable">substr</span>(<span class="number integer">6</span>).<span class="variable">split</span>(<span class="string">','</span>).<span class="variable">map</span>(<span class="keyword">function</span>(<span class="variable">range</span>){1158+ <span class="keyword">var</span> <span class="variable">range</span> = <span class="variable">range</span>.<span class="variable">split</span>(<span class="string">'-'</span>),1159+ <span class="variable">start</span> = <span class="variable">parseInt</span>(<span class="variable">range</span>[<span class="number integer">0</span>], <span class="number integer">10</span>),1160+ <span class="variable">end</span> = <span class="variable">parseInt</span>(<span class="variable">range</span>[<span class="number integer">1</span>], <span class="number integer">10</span>);1161+1162+ <span class="comment">// -500</span>1163+ <span class="keyword">if</span> (<span class="variable">isNaN</span>(<span class="variable">start</span>)) {1164+ <span class="variable">start</span> = <span class="variable">size</span> - <span class="variable">end</span>;1165+ <span class="variable">end</span> = <span class="variable">size</span> - <span class="number integer">1</span>;1166+ <span class="comment">// 500-</span>1167+ } <span class="keyword">else</span> <span class="keyword">if</span> (<span class="variable">isNaN</span>(<span class="variable">end</span>)) {1168+ <span class="variable">end</span> = <span class="variable">size</span> - <span class="number integer">1</span>;1169+ }1170+1171+ <span class="comment">// Invalid</span>1172+ <span class="keyword">if</span> (<span class="variable">isNaN</span>(<span class="variable">start</span>) || <span class="variable">isNaN</span>(<span class="variable">end</span>) || <span class="variable">start</span> &<span class="variable">gt</span>; <span class="variable">end</span>) <span class="variable">valid</span> = <span class="variable">false</span>;1173+1174+ <span class="keyword">return</span> { <span class="variable">start</span>: <span class="variable">start</span>, <span class="variable">end</span>: <span class="variable">end</span> };1175+ });1176+ <span class="keyword">return</span> <span class="variable">valid</span> ? <span class="variable">arr</span> : <span class="variable">undefined</span>;1177+};</code></pre>1178+</td>1179 </tr><tr class="filename"><td><h2 id="lib/express/view.js"><a href="#">view</a></h2></td><td>lib/express/view.js</td></tr><tr class="code">1180 <td class="docs">1181 <p>Module dependencies.1182 </p>30 unmodified lines1213 </td>1214 </tr>1215 <tr class="code">1216 <td class="docs">1217+<p>Synchronously cache view at the given <code>path</code>.</p>1218+1219+<h2></h2>1220+1221+<ul><li><p><strong>param</strong>: <em>String</em> path</p></li><li><p><strong>return</strong>: <em>String</em> </p></li><li><p><strong>api</strong>: <em>private</em></p></li></ul>1222+</td>1223+<td class="code">1224+<pre><code><span class="keyword">function</span> <span class="variable">cacheViewSync</span>(<span class="variable">path</span>) {1225+ <span class="keyword">return</span> <span class="variable">viewCache</span>[<span class="variable">path</span>] = <span class="variable">fs</span>.<span class="variable">readFileSync</span>(<span class="variable">path</span>, <span class="string">'utf8'</span>);1226+}</code></pre>1227+</td>1228+</tr>1229+<tr class="code">1230+<td class="docs">1231+<p>Return view root path for the given <code>app</code>.</p>1232+1233+<h2></h2>1234+1235+<ul><li><p><strong>param</strong>: <em>express.Server</em> app</p></li><li><p><strong>return</strong>: <em>String</em> </p></li><li><p><strong>api</strong>: <em>private</em></p></li></ul>1236+</td>1237+<td class="code">1238+<pre><code><span class="keyword">function</span> <span class="variable">viewRoot</span>(<span class="variable">app</span>) {1239+ <span class="keyword">return</span> <span class="variable">app</span>.<span class="variable">set</span>(<span class="string">'views'</span>) || <span class="variable">process</span>.<span class="variable">cwd</span>() + <span class="string">'/views'</span>;1240+}</code></pre>1241+</td>1242+</tr>1243+<tr class="code">1244+<td class="docs">1245 <p>Register the given template engine <code>exports</code>1246 as <code>ext</code>. For example we may wish to map ".html"1247 files to jade:</p>1248 233 unmodified linesmodified:docs/contrib.html-1 removed
15 unmodified lines16 font: 14px/1.4 "Helvetica Neue", "Lucida Grande", "Arial";17 font-size: 14px;18 line-height: 1.5;19 -webkit-font-smoothing: antialiased;20- -moz-font-smoothing: antialiased;20 background: url(images/bg.jpg) 50% 0 no-repeat;21 color: #8b8b8b; }22 23 * {220 unmodified linesmodified:docs/executable.html-1 removed
15 unmodified lines16 font: 14px/1.4 "Helvetica Neue", "Lucida Grande", "Arial";17 font-size: 14px;18 line-height: 1.5;19 -webkit-font-smoothing: antialiased;20- -moz-font-smoothing: antialiased;20 background: url(images/bg.jpg) 50% 0 no-repeat;21 color: #8b8b8b; }22 23 * {192 unmodified linesmodified:docs/guide.1+73 added-5 removed
117 unmodified lines118 .119 .IP "" 0120 .121 .P122-To alter the environment we can set the \fICONNECT_ENV\fR environment variable, or more specifically \fIEXPRESS_ENV\fR, for example:122+To alter the environment we can set the \fINODE_ENV\fR environment variable, for example:123 .124 .IP "" 4125 .126 .nf127 128-$ EXPRESS_ENV=production node app\.js128+$ NODE_ENV=production node app\.js129 .130 .fi131 .132 .IP "" 0238 unmodified lines371 .372 .IP "" 0373 .374 .SS "Middleware"375-The Express \fIPlugin\fR is no more! middleware via Connect \fIhttp://github\.com/senchalabs/connect\fR can be passed to \fIexpress\.createServer()\fR as you would with a regular Connect server\. For example:375+Middleware via Connect \fIhttp://github\.com/senchalabs/connect\fR can be passed to \fIexpress\.createServer()\fR as you would with a regular Connect server\. For example:376 .377 .IP "" 4378 .379 .nf380 381-var express = require(\'express\');381+ var express = require(\'express\');382 383 var app = express\.createServer(384 express\.logger(),385 express\.bodyDecoder()386-);386+ );387 .388 .fi389 .390 .IP "" 0235 unmodified lines626 .627 .IP "" 0628 .629 .P630+When an alternate layout is required, we may also specify a path\. For example if we have \fIview engine\fR set to \fIjade\fR and a file named \fI\./views/mylayout\.jade\fR we can simply pass:631+.632+.IP "" 4633+.634+.nf635+636+res\.render(\'page\', { layout: \'mylayout\' });637+.638+.fi639+.640+.IP "" 0641+.642+.P643+Otherwise we must specify the extension:644+.645+.IP "" 4646+.647+.nf648+649+res\.render(\'page\', { layout: \'mylayout\.jade\' });650+.651+.fi652+.653+.IP "" 0654+.655+.P656+These paths may also be absolute:657+.658+.IP "" 4659+.660+.nf661+662+res\.render(\'page\', { layout: __dirname + \'/\.\./\.\./mylayout\.jade\' });663+.664+.fi665+.666+.IP "" 0667+.668+.P669 A good example of this is specifying custom \fIejs\fR opening and closing tags:670 .671 .IP "" 4672 .74 unmodified lines747 EJS \fIhttp://github\.com/visionmedia/ejs\fR Embedded JavaScript748 .749 .IP "" 0750 .751+.SS "Session Support"752+Sessions support can be added by using Connect\'s \fIsession\fR middleware\. To do so we also need the \fIcookieDecoder\fR middleware place above it, which will parse and populate cookie data to \fIreq\.cookies\fR\.753+.754+.IP "" 4755+.756+.nf757+758+app\.use(express\.cookieDecoder());759+app\.use(express\.session());760+.761+.fi762+.763+.IP "" 0764+.765+.P766+By default the \fIsession\fR middleware uses the memory store bundled with Connect, however many implementations exist\. For example connect\-redis \fIhttp://github\.com/visionmedia/connect\-redis\fR supplies a Redis \fIhttp://code\.google\.com/p/redis/\fR session store and can be used as shown below:767+.768+.IP "" 4769+.770+.nf771+772+var RedisStore = require(\'connect\-redis\');773+app\.use(express\.cookieDecoder());774+app\.use(express\.session({ store: new RedisStore }));775+.776+.fi777+.778+.IP "" 0779+.780 .SS "req\.header(key[, defaultValue])"781 Get the case\-insensitive request header \fIkey\fR, with optional \fIdefaultValue\fR:782 .783 .IP "" 4711 unmodified linesmodified:docs/guide.html+36 added-7 removed
15 unmodified lines16 font: 14px/1.4 "Helvetica Neue", "Lucida Grande", "Arial";17 font-size: 14px;18 line-height: 1.5;19 -webkit-font-smoothing: antialiased;20- -moz-font-smoothing: antialiased;20 background: url(images/bg.jpg) 50% 0 no-repeat;21 color: #8b8b8b; }22 23 * {162 unmodified lines186 <li><a href="#Error-Handling">Error Handling</a></li>187 <li><a href="#View-Rendering">View Rendering</a></li>188 <li><a href="#View-Partials">View Partials</a></li>189 <li><a href="#Template-Engines">Template Engines</a></li>190+<li><a href="#Session-Support">Session Support</a></li>191 <li><a href="#" class="toggle">+</a> <a class="section-title" href="#">Request</a><ul class="section" id="section-Request">192 <li><a href="#req-header-key-defaultValue-">header()</a></li>193 <li><a href="#req-accepts-type-">accepts()</a></li>194 <li><a href="#req-param-name-">param()</a></li>119 unmodified lines314 // same as app.set('some feature', false);315 });316 </code></pre>317 318-<p>To alter the environment we can set the <em>CONNECT_ENV</em> environment variable,319-or more specifically <em>EXPRESS_ENV</em>, for example:</p>318+<p>To alter the environment we can set the <em>NODE_ENV</em> environment variable, for example:</p>319 321-<pre><code>$ EXPRESS_ENV=production node app.js320+<pre><code>$ NODE_ENV=production node app.js321 </code></pre>322 323 <h3 id="Settings">Settings</h3>324 150 unmodified lines475 </code></pre>476 477 <h3 id="Middleware">Middleware</h3>478 480-<p>The Express <em>Plugin</em> is no more! middleware via <a href="http://github.com/senchalabs/connect">Connect</a> can be479+<p>Middleware via <a href="http://github.com/senchalabs/connect">Connect</a> can be480 passed to <em>express.createServer()</em> as you would with a regular Connect server. For example:</p>481 483-<pre><code>var express = require('express');482+<pre><code> var express = require('express');483 484 var app = express.createServer(485 express.logger(),486 express.bodyDecoder()488-);487+ );488 </code></pre>489 490 <p>Alternatively we can <em>use()</em> them which is useful when adding middleware within <em>configure()</em> blocks:</p>491 131 unmodified lines623 624 <pre><code>res.render('myview.ejs', { layout: true });625 </code></pre>626 627+<p>When an alternate layout is required, we may also specify a path. For example if we have <em>view engine</em> set to <em>jade</em> and a file named <em>./views/mylayout.jade</em> we can simply pass:</p>628+629+<pre><code>res.render('page', { layout: 'mylayout' });630+</code></pre>631+632+<p>Otherwise we must specify the extension:</p>633+634+<pre><code>res.render('page', { layout: 'mylayout.jade' });635+</code></pre>636+637+<p>These paths may also be absolute:</p>638+639+<pre><code>res.render('page', { layout: __dirname + '/../../mylayout.jade' });640+</code></pre>641+642 <p>A good example of this is specifying custom <em>ejs</em> opening and closing tags:</p>643 644 <pre><code>app.set('view options', {645 open: '{{',42 unmodified lines688 <li><a href="http://github.com/visionmedia/ejs">EJS</a> Embedded JavaScript</li>689 </ul>690 691 692+<h3 id="Session-Support">Session Support</h3>693+694+<p>Sessions support can be added by using Connect's <em>session</em> middleware. To do so we also need the <em>cookieDecoder</em> middleware place above it, which will parse and populate cookie data to <em>req.cookies</em>.</p>695+696+<pre><code>app.use(express.cookieDecoder());697+app.use(express.session());698+</code></pre>699+700+<p>By default the <em>session</em> middleware uses the memory store bundled with Connect, however many implementations exist. For example <a href="http://github.com/visionmedia/connect-redis">connect-redis</a> supplies a <a href="http://code.google.com/p/redis/">Redis</a> session store and can be used as shown below:</p>701+702+<pre><code>var RedisStore = require('connect-redis');703+app.use(express.cookieDecoder());704+app.use(express.session({ store: new RedisStore }));705+</code></pre>706+707 <h3 id="req-header-key-defaultValue-">req.header(key[, defaultValue])</h3>708 709 <p>Get the case-insensitive request header <em>key</em>, with optional <em>defaultValue</em>:</p>710 456 unmodified linesmodified:docs/index.1+1 added-1 removed
1 .\" generated with Ronn/v0.7.32 .\" http://github.com/rtomayko/ronn/tree/0.7.33 .4-.TH "INDEX" "" "September 2010" "" ""4+.TH "INDEX" "" "October 2010" "" ""5 .6 .SH "NAME"7 \fBindex\fR8 .129 unmodified linesmodified:docs/index.html-1 removed
15 unmodified lines16 font: 14px/1.4 "Helvetica Neue", "Lucida Grande", "Arial";17 font-size: 14px;18 line-height: 1.5;19 -webkit-font-smoothing: antialiased;20- -moz-font-smoothing: antialiased;20 background: url(images/bg.jpg) 50% 0 no-repeat;21 color: #8b8b8b; }22 23 * {242 unmodified linesmodified:docs/migrate.1+1 added-1 removed
1 .\" generated with Ronn/v0.7.32 .\" http://github.com/rtomayko/ronn/tree/0.7.33 .4-.TH "MIGRATE" "" "September 2010" "" ""4+.TH "MIGRATE" "" "October 2010" "" ""5 .6 .SH "NAME"7 \fBmigrate\fR8 .339 unmodified linesmodified:docs/migrate.html-1 removed
15 unmodified lines16 font: 14px/1.4 "Helvetica Neue", "Lucida Grande", "Arial";17 font-size: 14px;18 line-height: 1.5;19 -webkit-font-smoothing: antialiased;20- -moz-font-smoothing: antialiased;20 background: url(images/bg.jpg) 50% 0 no-repeat;21 color: #8b8b8b; }22 23 * {385 unmodified lines