Permalink
Browse files

prevent double ready messages on some browsers

  • Loading branch information...
1 parent b84a65c commit c4afb1e98e1809090be7362d3ed996626a918b5d U-Eric-PC\Eric committed Apr 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/now.js
View
@@ -341,7 +341,7 @@ var now = {
var nowJSScriptLoaded = function(){
dependenciesLoaded++;
- if(dependenciesLoaded < dependencies.length) {
+ if(dependenciesLoaded !== dependencies.length) {
return;
}

0 comments on commit c4afb1e

Please sign in to comment.