Skip to content

Commit

Permalink
Merge pull request #113 from pangdaxing23/markdown-fix
Browse files Browse the repository at this point in the history
fix subheaders in README
  • Loading branch information
EvanCarroll authored Jul 14, 2017
2 parents 95563fd + 9f2ef91 commit 1568e31
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

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

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.
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.

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.

### Variations

####Regular Module
#### Regular Module

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

####jQuery Plugin
#### jQuery Plugin

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

####AMD with simple Node/CommonJS adapter
#### AMD with simple Node/CommonJS adapter

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

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

###Resources
### Resources

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

###Todos
### Todos

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

0 comments on commit 1568e31

Please sign in to comment.