Skip to content
Myr

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

9 files+206 added−28 removed

modified:docs/api.html+95 added-10 removed
392 unmodified lines
393 <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 lines
515</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>;521522 <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>);523524 <span class="keyword">function</span> <span class="variable">error</span>(<span class="variable">err</span>) {
7 unmodified lines
532533 <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 lines
790791 <span class="comment">// Default &quot;home&quot; to / </span>792 <span class="this">this</span>.<span class="variable">set</span>(<span class="string">'home'</span>, <span class="string">'/'</span>);793775 <span class="comment">// Set &quot;env&quot; 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 }799800 <span class="comment">// Set &quot;env&quot; 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>);802803 <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 lines
1113 <a href="B">A</a> becomes &lt;a href="B"&gt;A&lt;/a&gt;</p>11141115<h2></h2>11161094<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 lines
1130<p>Escape special characters in the given string of html.</p>11311132<h2></h2>11331111<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 lines
1141 .<span class="variable">replace</span>(<span class="regexp">/&lt;/g</span>, <span class="string">'&lt;'</span>)1142 .<span class="variable">replace</span>(<span class="regexp">/&gt;/g</span>, <span class="string">'&gt;'</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>11491150<h2></h2>11511152<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>);11611162 <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 }11701171 <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>;11731174 <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 lines
1213</td>1214</tr>1215<tr class="code">1216<td class="docs">1217<p>Synchronously cache view at the given <code>path</code>.</p>12181219<h2></h2>12201221<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>12321233<h2></h2>12341235<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>1246as <code>ext</code>. For example we may wish to map ".html"1247files to jade:</p>1248
233 unmodified lines
modified:docs/contrib.html-1 removed
15 unmodified lines
16 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; }2223 * {
220 unmodified lines
modified:docs/executable.html-1 removed
15 unmodified lines
16 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; }2223 * {
192 unmodified lines
modified:docs/guide.1+73 added-5 removed
117 unmodified lines
118.119.IP "" 0120.121.P122To alter the environment we can set the \fICONNECT_ENV\fR environment variable, or more specifically \fIEXPRESS_ENV\fR, for example:122To alter the environment we can set the \fINODE_ENV\fR environment variable, for example:123.124.IP "" 4125.126.nf127128$ EXPRESS_ENV=production node app\.js128$ NODE_ENV=production node app\.js129.130.fi131.132.IP "" 0
238 unmodified lines
371.372.IP "" 0373.374.SS "Middleware"375The 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:375Middleware 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.nf380381var express = require(\'express\');381 var express = require(\'express\');382383var app = express\.createServer(384 express\.logger(),385 express\.bodyDecoder()386);386 );387.388.fi389.390.IP "" 0
235 unmodified lines
626.627.IP "" 0628.629.P630When 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.nf635636res\.render(\'page\', { layout: \'mylayout\' });637.638.fi639.640.IP "" 0641.642.P643Otherwise we must specify the extension:644.645.IP "" 4646.647.nf648649res\.render(\'page\', { layout: \'mylayout\.jade\' });650.651.fi652.653.IP "" 0654.655.P656These paths may also be absolute:657.658.IP "" 4659.660.nf661662res\.render(\'page\', { layout: __dirname + \'/\.\./\.\./mylayout\.jade\' });663.664.fi665.666.IP "" 0667.668.P669A good example of this is specifying custom \fIejs\fR opening and closing tags:670.671.IP "" 4672.
74 unmodified lines
747EJS \fIhttp://github\.com/visionmedia/ejs\fR Embedded JavaScript748.749.IP "" 0750.751.SS "Session Support"752Sessions 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.nf757758app\.use(express\.cookieDecoder());759app\.use(express\.session());760.761.fi762.763.IP "" 0764.765.P766By 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.nf771772var RedisStore = require(\'connect\-redis\');773app\.use(express\.cookieDecoder());774app\.use(express\.session({ store: new RedisStore }));775.776.fi777.778.IP "" 0779.780.SS "req\.header(key[, defaultValue])"781Get the case\-insensitive request header \fIkey\fR, with optional \fIdefaultValue\fR:782.783.IP "" 4
711 unmodified lines
modified:docs/guide.html+36 added-7 removed
15 unmodified lines
16 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; }2223 * {
162 unmodified lines
186<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 lines
314 // same as app.set('some feature', false);315});316</code></pre>317318<p>To alter the environment we can set the <em>CONNECT_ENV</em> environment variable,319or 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>319321<pre><code>$ EXPRESS_ENV=production node app.js320<pre><code>$ NODE_ENV=production node app.js321</code></pre>322323<h3 id="Settings">Settings</h3>324
150 unmodified lines
475</code></pre>476477<h3 id="Middleware">Middleware</h3>478480<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 be480passed to <em>express.createServer()</em> as you would with a regular Connect server. For example:</p>481483<pre><code>var express = require('express');482<pre><code> var express = require('express');483484var app = express.createServer(485 express.logger(),486 express.bodyDecoder()488);487 );488</code></pre>489490<p>Alternatively we can <em>use()</em> them which is useful when adding middleware within <em>configure()</em> blocks:</p>491
131 unmodified lines
623624<pre><code>res.render('myview.ejs', { layout: true });625</code></pre>626627<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>628629<pre><code>res.render('page', { layout: 'mylayout' });630</code></pre>631632<p>Otherwise we must specify the extension:</p>633634<pre><code>res.render('page', { layout: 'mylayout.jade' });635</code></pre>636637<p>These paths may also be absolute:</p>638639<pre><code>res.render('page', { layout: __dirname + '/../../mylayout.jade' });640</code></pre>641642<p>A good example of this is specifying custom <em>ejs</em> opening and closing tags:</p>643644<pre><code>app.set('view options', {645 open: '{{',
42 unmodified lines
688<li><a href="http://github.com/visionmedia/ejs">EJS</a> Embedded JavaScript</li>689</ul>690691692<h3 id="Session-Support">Session Support</h3>693694<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>695696<pre><code>app.use(express.cookieDecoder());697app.use(express.session());698</code></pre>699700<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>701702<pre><code>var RedisStore = require('connect-redis');703app.use(express.cookieDecoder());704app.use(express.session({ store: new RedisStore }));705</code></pre>706707<h3 id="req-header-key-defaultValue-">req.header(key[, defaultValue])</h3>708709<p>Get the case-insensitive request header <em>key</em>, with optional <em>defaultValue</em>:</p>710
456 unmodified lines
modified: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 lines
modified:docs/index.html-1 removed
15 unmodified lines
16 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; }2223 * {
242 unmodified lines
modified: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 lines
modified:docs/migrate.html-1 removed
15 unmodified lines
16 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; }2223 * {
385 unmodified lines