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
Add information about the script from the `plugins.js` file.

Ref   #1554
Close #1558
  • Loading branch information
arthurvr authored and alrra committed Jul 11, 2014
1 parent ff27f8c commit 5027eea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions doc/js.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ One approach is to put jQuery plugins inside of a `(function($){ ...
blanket. Read more about [jQuery plugin
authoring](http://docs.jquery.com/Plugins/Authoring#Getting_Started)

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
2 changes: 1 addition & 1 deletion doc/misc.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ In the repo the `.htaccess` is used for:
* It blocks access to files that can expose sensitive information.
* It reduces MIME type security risks
* It forces compressing (gzipping)
* It tells tell the browser whether they should request a specific file from the
* It tells the browser whether they should request a specific file from the
server or whether they should grab it from the browser's cache

When using `.htaccess` we recommend reading all inline comments (the rules after
Expand Down

0 comments on commit 5027eea

Please sign in to comment.