Skip to content

Commit d7c22b3

Browse files
committed
describe AMD functionality
1 parent 0c293b3 commit d7c22b3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ etc...
9393

9494
Also include is a jQuery version of the plugin that can be called via $.url() with all the same options. If you're already using jQuery it may be better to use the jQuery version to avoid namespacing issues.
9595

96+
## AMD module
97+
98+
If AMD loader present (basically `(typeof window.define === 'function' && window.define.amd !== undefined) === true`) the script registers itself as anonymous AMD module without polluting global `window`-object or extending `jQuery`.
99+
96100
## Grunt.js
97101

98102
If you want to use Grunt you will need to install the required plugins locally using `npm install` in the root folder of your project. If you need to setup Grunt on your system you can follow my [Setting up Grunt.js](http://www.websanova.com/blog/javascript/how-to-setup-grunt) guide.

0 commit comments

Comments
 (0)