Skip to content

Commit bb70312

Browse files
committed
Merge branch 'master' of github.com:requirejs/example-jquery-shim
2 parents 6e201e3 + 1b56e3d commit bb70312

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The most important part of this example is the app.js file, which specifies the
99

1010
**If you want IE6-8 support**, clone this repo, but replace the jQuery file with the latest jQuery 1.x release. The jQuery 2 file used in this project does not work with those browsers.
1111

12-
###Project structure
12+
### Project structure
1313

1414
tools/
1515

@@ -29,7 +29,7 @@ www/js/
2929
- app/
3030
- main.js
3131

32-
###How it's set up
32+
### How it's set up
3333
The main file of this setup is www/js/app.js. It is loaded from app.html by this line:
3434
```html
3535
<script data-main="js/app" src="js/lib/require.js"></script>
@@ -64,11 +64,11 @@ define(["jquery", "jquery.alpha", "jquery.beta"], function($) {
6464
});
6565
```
6666

67-
###How to see it in action
67+
### How to see it in action
6868

6969
Just serve up the www/ folder using any web server you'd like. To get you set up quickly, we've included a node.js static file server in tools/. Start the server by typing `node tools/server.js` from the command line, and then go to [localhost:8888/www/app.html](http://localhost:8888/www/app.html) in your browser.
7070

71-
###How to optimize it using r.js
71+
### How to optimize it using r.js
7272
To use the optimizer, you need [node.js](http://nodejs.org) or Java 6 installed. These instructions assume Node is being used. See the [Optimization page](http://requirejs.org/docs/optimization.html) for more information.
7373

7474
r.js and a build configuration is included in the tools/ folder. To build, navigate to tools/ and type `node r.js -o build.js`. You will find the built product in the www-build folder. If you serve that directory instead, you can see in the network panel of the web developer tools that the files aren't loaded separately any more.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy