Skip to content

Commit 1568e31

Browse files
authored
Merge pull request #113 from pangdaxing23/markdown-fix
fix subheaders in README
2 parents 95563fd + 9f2ef91 commit 1568e31

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
[![Build Status](https://travis-ci.org/umdjs/umd.svg)](https://travis-ci.org/umdjs/umd)
44

5-
This repository formalizes the design and implementation of the Universal Module Definition (UMD) API for JavaScript modules. These are modules which are capable of working everywhere, be it in the client, on the server or elsewhere.
5+
This repository formalizes the design and implementation of the Universal Module Definition (UMD) API for JavaScript modules. These are modules which are capable of working everywhere, be it in the client, on the server or elsewhere.
66

77
The UMD pattern typically attempts to offer compatibility with the most popular script loaders of the day (e.g RequireJS amongst others). In many cases it uses [AMD](https://github.com/amdjs/amdjs-api/wiki/AMD) as a base, with special-casing added to handle [CommonJS](http://wiki.commonjs.org/wiki/CommonJS) compatibility.
88

99
### Variations
1010

11-
####Regular Module
11+
#### Regular Module
1212

1313
* [amdWeb.js](https://github.com/umdjs/umd/blob/master/templates/amdWeb.js) -
1414
Defines a module that works with AMD and browser globals. If you also want
@@ -27,12 +27,12 @@ The UMD pattern typically attempts to offer compatibility with the most popular
2727
scripts that still expect that global), use
2828
[commonjsStrictGlobal.js](https://github.com/umdjs/umd/blob/master/templates/commonjsStrictGlobal.js)
2929

30-
####jQuery Plugin
30+
#### jQuery Plugin
3131

3232
* [jqueryPlugin.js](https://github.com/umdjs/umd/blob/master/templates/jqueryPlugin.js) -
3333
Defines a jQuery plugin that works with AMD and browser globals.
3434

35-
####AMD with simple Node/CommonJS adapter
35+
#### AMD with simple Node/CommonJS adapter
3636

3737
These are useful for using AMD style while still making modules that can be
3838
used in Node and installed via npm without extra dependencies to set up the
@@ -65,11 +65,11 @@ is usable in AMD.
6565

6666
* [Unit testing UMD with grunt-contrib-jasmine](http://stackoverflow.com/questions/16940548/grunt-test-for-umd)
6767

68-
###Resources
68+
### Resources
6969

7070
* [Browserify and the Universal Module Definition](http://dontkry.com/posts/code/browserify-and-the-universal-module-definition.html)
7171

72-
###Todos
72+
### Todos
7373

7474
* noConflict. Although with AMD loaders and build tools, it should be possible to get version specific bindings,
7575
maybe show a version that has a noConflict option.

0 commit comments

Comments
 (0)