Skip to content

Commit

Permalink
deprecate 'depend' plugin since 'shim' config can be used instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
millermedeiros committed Apr 19, 2013
1 parent f6ed930 commit 87206ef
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 253 deletions.
6 changes: 1 addition & 5 deletions README.mdown
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ For more plugins check [RequireJS Wiki](https://github.com/jrburke/requirejs/wik
## Plugins

- **async** : Useful for JSONP and asynchronous dependencies (e.g. Google Maps).
- **depend** : Load JS files that have dependencies but aren't wrapped into
`define` calls.
- **font** : Load web fonts using the [WebFont Loader API](https://code.google.com/apis/webfonts/docs/webfont_loader.html)
(requires `propertyParser`)
- **goog** : Load [Google APIs](http://code.google.com/apis/loader/)
Expand Down Expand Up @@ -47,7 +45,6 @@ require.config({
paths : {
//create alias to plugins (not needed if plugins are on the baseUrl)
async: 'lib/requirejs-plugins/async',
depend: 'lib/requirejs-plugins/depend',
font: 'lib/requirejs-plugins/font',
goog: 'lib/requirejs-plugins/goog',
image: 'lib/requirejs-plugins/image',
Expand All @@ -68,8 +65,7 @@ define([
'async!http://maps.google.com/maps/api/js?sensor=false',
'goog!visualization,1,packages:[corechart,geochart]',
'goog!search,1',
'font!google,families:[Tangerine,Cantarell]',
'depend!foo[order!jquery,order!lib/awsumJqueryPlugin]'
'font!google,families:[Tangerine,Cantarell]'
], function(awsum, foo, bar, loremIpsum){
//all dependencies are loaded (including gmaps and other google apis)
}
Expand Down
47 changes: 0 additions & 47 deletions examples/depend.html

This file was deleted.

8 changes: 0 additions & 8 deletions examples/js/depend/bar.js

This file was deleted.

8 changes: 0 additions & 8 deletions examples/js/depend/foo.js

This file was deleted.

5 changes: 0 additions & 5 deletions examples/js/jquery.js

This file was deleted.

180 changes: 0 additions & 180 deletions lib/order.js

This file was deleted.

0 comments on commit 87206ef

Please sign in to comment.