fix small typos in README and index.html

This commit is contained in:
hustlzp
2014-02-26 23:11:23 +08:00
parent 615ed4039d
commit 3ca783dc87
2 changed files with 2 additions and 2 deletions

View File

@@ -191,7 +191,7 @@ Or, you can manage dependencies with [Bower](http://bower.io). Set `baseUrl` to
``` js
requirejs.config({
baseUrl: 'bower_components/',
paths: { // path your your app
paths: { // path to your app
app: '../'
}
});

View File

@@ -154,7 +154,7 @@ imgLoad.on( <span class="string">'always'</span>, <span class="keyword">function
<p>Or, you can manage dependencies with <a href="http://bower.io">Bower</a>. Set <code>baseUrl</code> to <code>bower_components</code> and set a path config for all your application code.</p>
<pre><code class="lang-js">requirejs.config({
baseUrl: <span class="string">'bower_components/'</span>,
paths: { <span class="comment">// path your app</span>
paths: { <span class="comment">// path to your app</span>
app: <span class="string">'../'</span>
}
});