Skip to content

Commit

Permalink
Docs: Update info from js.md regarding plugins.js
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurvr committed Oct 2, 2014
1 parent 448ab76 commit 6e5d83a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/js.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ This file can be used to contain all your plugins, such as jQuery plugins and ot

One approach is to put jQuery plugins inside of a `(function($){ ... })(window.jQuery);` closure to make sure they're in the jQuery namespace safety blanket.

By default the `plugins.js` file contains a small script to avoid `console`
errors in browsers that lack a `console`. The script will make sure that, if
a console method isn't available, that method will have the value of empty
function, thus, preventing the browser from throwing an error.

## vendor

This directory can be used to contain all 3rd party library code.
Expand Down

0 comments on commit 6e5d83a

Please sign in to comment.