48 lines
2.6 KiB
Markdown
48 lines
2.6 KiB
Markdown
![]() |
---
|
||
|
layout: main
|
||
|
title: HeadJS v1.0.3 Update
|
||
|
excerpt: Small point release
|
||
|
scripts: ["/site/assets/libs/jquery/jquery.min.js", "https://cdn.moot.it/latest/moot.min.js", "/site/assets/js/comments.min.js"]
|
||
|
---
|
||
|
|
||
|
#{{ page.title }} ({{ page.date | date_to_string }})
|
||
|
|
||
|
<hr />
|
||
|
|
||
|
Small but __very__ important update that fixes issues with older browser when loading via Arrays, or using and Array of labels with .ready().
|
||
|
|
||
|
Callbacks now work properly with CSS, a patch was added thank's to [xhaggi](https://github.com/xhaggi), which makes this possible.
|
||
|
An error timeout was also added ..while it's not yet possible to use this timeout to take other actions, it at least assures that callbacks are always fired.
|
||
|
Detecting CSS files when using load is much sturdier. We still can't tell if it's a CSS file when loading a .aspx, .php ...but this will likely change soon.
|
||
|
|
||
|
__This will probably be the _before last_ update on the 1.x branch ..time for [2.x to advance](http://headjs.com/2013/11/08/head.responsive-v2.0.0-alpha.html) ! ;-)__
|
||
|
|
||
|
- New: Timeout added to resource loading
|
||
|
- New: CSS callbacks now executed for all browsers
|
||
|
- Details: [https://github.com/headjs/headjs/pull/273](https://github.com/headjs/headjs/pull/273)
|
||
|
- New: Changed how file extensions are parsed for detecting css files
|
||
|
- in the future, we will need to add a way to supply a filetype, for when loading resources via scripts like style.php
|
||
|
- Fix: Array loading & trigger not functioning correctly on old browsers
|
||
|
- Details: [https://github.com/headjs/headjs/issues/274](https://github.com/headjs/headjs/issues/274)
|
||
|
- Fix: ready() sometimes does not trigger if assets are loaded too fast
|
||
|
- Details: [https://github.com/headjs/headjs/issues/271](https://github.com/headjs/headjs/issues/271)
|
||
|
|
||
|
<br/><br/>
|
||
|
<hr style="border: thin dashed" />
|
||
|
|
||
|
P.S. The HeadJS site has been revamped to be more dynamic and more easily updateable. However i'm not a designer and as far as typographical choices etc go ..the site could use some Luv !
|
||
|
|
||
|
I'd like to keep the current layout (more or less), but typo, color-scheme, ergonomics, and flat design revamps are very welcome.
|
||
|
|
||
|
If you have some Designer Luv to spread ...bring it on !
|
||
|
|
||
|
- Some designs i really love (though maybe overkill ..)
|
||
|
- [Cassiopeia](http://themes.roussounelosweb.gr/cassiopeia)
|
||
|
- [Moot](https://moot.it/)
|
||
|
- And globally the bootstrap style (gray, black, white, or monochromatic with color highlights and large header/footer bars)
|
||
|
|
||
|
|
||
|
<div onclick="blog.loadComments(this, 'posts/release/1.0.3', 'Leave a comment')" style="cursor: pointer;">
|
||
|
<h2>Show Comments</h2>
|
||
|
</div>
|
||
|
<div id="moot"> </div>
|