Skip to content

Commit

Permalink
Added Protection from the global scope
Browse files Browse the repository at this point in the history
this protects the code inside from 

* window = null; //etc

also the undefined means they can't chain more variables on
  • Loading branch information
Jakemichaeldrew committed Jan 6, 2015
1 parent aad3ca3 commit 4fb8162
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/julius.js
@@ -1,4 +1,4 @@
(function() {
(function(window, navigator, undefined) {
var postBuffer = function() {
var that = this;

Expand Down Expand Up @@ -119,4 +119,4 @@
};

window.Julius = Julius;
}() );
}(window,window.navigator) );

0 comments on commit 4fb8162

Please sign in to comment.