Skip to content

Commit

Permalink
v. 0.96dev
Browse files Browse the repository at this point in the history
  • Loading branch information
tipiirai committed May 11, 2011
1 parent f3e7be6 commit b8189f1
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions dist/head.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Head JS The only script in your <HEAD>
Copyright Tero Piirainen (tipiirai)
License MIT / http://bit.ly/mit-license
Version 0.95
Version 0.96
http://headjs.com
*/
Expand Down Expand Up @@ -157,7 +157,7 @@
Head JS The only script in your <HEAD>
Copyright Tero Piirainen (tipiirai)
License MIT / http://bit.ly/mit-license
Version 0.95
Version 0.96
http://headjs.com
*/
Expand Down Expand Up @@ -297,7 +297,7 @@
Head JS The only script in your <HEAD>
Copyright Tero Piirainen (tipiirai)
License MIT / http://bit.ly/mit-license
Version 0.95
Version 0.96
http://headjs.com
*/
Expand Down Expand Up @@ -525,7 +525,7 @@

function preload(script, callback) {

if (!script.state) {
if (script.state === undefined) {

script.state = PRELOADING;
script.onpreload = [];
Expand Down Expand Up @@ -587,8 +587,8 @@
var state = s.readyState;

if (!callback.done && (!state || /loaded|complete/.test(state))) {
callback();
callback.done = true;
callback();
}
};

Expand Down
4 changes: 2 additions & 2 deletions dist/head.load.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b8189f1

Please sign in to comment.