Permalink
Browse files

readying 1.0.3

  • Loading branch information...
1 parent e44bde3 commit 5553a5b4eff0e979ab773686942d795e929b4acb @robert-hoffmann robert-hoffmann committed Nov 22, 2013
View
@@ -5,4 +5,5 @@ _site/
*.suo
*.config
*.bundle
+sauce_connect.*
node_modules/
View
@@ -6,7 +6,7 @@ module.exports = function (grunt) {
{
browserName: "firefox",
platform : "Windows 8",
- version : "19"
+ version : "22"
},
{
browserName : "iphone",
@@ -20,8 +20,6 @@ module.exports = function (grunt) {
version : "6.1",
"device-orientation": "portrait"
},
- // android emulator does not pass tests, yet on my own phone all browsers pass...
- // ..ok, was actually android < 4.1
{
browserName : "android",
platform : "Linux",
@@ -48,22 +46,21 @@ module.exports = function (grunt) {
platform : "Windows 8.1",
version : "11"
},
- // Seems like the max amout of browsers on the badge is 3 ..so deactivate similar ones
- //{
- // browserName: "internet explorer",
- // platform : "Windows 8",
- // version : "10"
- //},
+ {
+ browserName: "internet explorer",
+ platform : "Windows 8",
+ version : "10"
+ },
{
browserName: "internet explorer",
platform : "Windows 7",
version : "9"
},
- //{
- // browserName: "internet explorer",
- // platform : "Windows XP",
- // version : "8"
- //},
+ {
+ browserName: "internet explorer",
+ platform : "Windows XP",
+ version : "8"
+ },
{
browserName: "internet explorer",
platform : "Windows XP",
@@ -74,9 +71,6 @@ module.exports = function (grunt) {
// Project configuration
grunt.initConfig({
- // load package information
- //pkg: grunt.file.readJSON("package.json"),
-
//#region Saucelabs
connect: {
server: {
@@ -102,6 +96,9 @@ module.exports = function (grunt) {
watch: {},
//#endregion
+ // load package information ..use later for building via grunt...
+ //pkg: grunt.file.readJSON("package.json"),
+
// task: local unit tests
qunit: {
files: ['test/unit/1.0.0/index.html']
View
@@ -2,7 +2,7 @@
This project was never announced. `git push` and it was all viral !
-###Latest Version: 1.0.2 / [Download](http://headjs.com/site/download.html)
+###Latest Version: {{site.head.minor}} / [Download](http://headjs.com/site/download.html)
#####Status
[![Build Status](https://travis-ci.org/headjs/headjs.png?branch=master)](https://travis-ci.org/headjs/headjs)
@@ -13,29 +13,30 @@ This project was never announced. `git push` and it was all viral !
###Responsive Design, Feature Detections, and Resource Loading
- * Speed up your pageload: Load JS & CSS asyncronously and in parallel
- * Load one asset if a condition is met, else fallback and load another one
+ * Speed up your apps: Load JS & CSS asyncronously and in parallel, but execute them in order
+ * Load one asset if a condition is met, else fallback and load a different one
* Manage script dependencies, and execute callbacks once they are loaded
- * Cross-browser compatible CSS (pseudo media-queries), to code against different resolutions & devices
- * Fix quirks in specific browsers by quickly applying dedicated CSS/JS automatically
- * Detect browsers & their versions
- * Check if a client supports a certain Browser, HTML5 or CSS3 features
- * Generates JS and CSS classes automatically for detected browsers & features
- * Generates CSS classes automatically depending on which page or section a user is on
- * Know if a user is in landscape or portrait mode
- * Know if a user is on a mobile or desktop device
- * Make old browsers support HTML5 elements like nav, sidebar, header & footer
+ * Cross-browser compatible &laquo; pseudo media-queries &raquo; let you code against different resolutions & devices
+ * Fix quirks in specific browsers by quickly applying dedicated CSS/JS logic
+ * Detect various browsers & their versions
+ * Check if the client supports a certain Browser, HTML5, or CSS3 feature
+ * Automatically generates JS and CSS classes for browsers & features that where detected
+ * Automatically generates CSS classes, to know what page or section a user is viewing
+ * Know if the user is in landscape or portrait mode
+ * Or whether the client is using a mobile or desktop device
+ * Get old browsers support HTML5 elements like nav, sidebar, header, footer, ...
+ * ...
* __Make it, The only script in your &lt;HEAD&gt;__
- * __A concise solution to universal problems__
+ * ___A concise solution to universal problems___
###Resources
- __WebSite__
- [http://headjs.com](http://headjs.com)
-- __Bugs/Support__
+- __Bugs__
- [https://github.com/headjs/headjs/issues](https://github.com/headjs/headjs/issues)
-- __Get Community Help__
+- __Community Support__
- [http://stackoverflow.com](http://stackoverflow.com/questions/tagged/head.js)
- - _Remember to tag your questions with_: head.js
-- __Features Requests/Suggestions__
+ - _Remember to tag your questions with_: ___head.js___
+- __Feature Requests/Suggestions__
- [http://headjs.uservoice.com](http://headjs.uservoice.com/forums/182905-headjs-feature-suggestions)
@@ -39,11 +39,9 @@ <h1 id="load">Resource Loading</h1>
});
{% endhighlight %}
- <p>All the above examples also work with CSS files. However since some browsers are broken when it comes to triggering ready on CSS, you should probably never mix JS and CSS loading, and also probably not use callbacks on CSS files</p>
+ <p>All the above examples also work with CSS files.</p>
{% highlight js %}
-// to mitigate problems with browsers that do not support callbacks with CSS, you should probably use CSS loading as a fire & forget way
-
// queue scripts and fire a callback when loading is finished
head.load("file1.css", "file2.css");
@@ -39,11 +39,9 @@ <h1 id="load">Resource Loading</h1>
});
{% endhighlight %}
- <p>All the above examples also work with CSS files. However since some browsers are broken when it comes to triggering ready on CSS, you should probably never mix JS and CSS loading, and also probably not use callbacks on CSS files</p>
+ <p>All the above examples also work with CSS files.</p>
{% highlight js %}
-// to mitigate problems with browsers that do not support callbacks with CSS, you should probably use CSS loading as a fire & forget way
-
// queue scripts and fire a callback when loading is finished
head.load("file1.css", "file2.css");
View
@@ -13,8 +13,8 @@
<!-- Google -->
<meta name="google-site-verification" content="pqzn85yrum0AY6ugIrX0zoIEazSHL9p09us5yvHwZqw" />
- <meta itemprop="softwareVersion" content="1.0.2" />
- <meta itemprop="releaseNotes" content="https://raw.github.com/headjs/headjs/master/src/1.0.0/changelog.txt" />
+ <meta itemprop="softwareVersion" content="{{site.head.minor}}" />
+ <meta itemprop="releaseNotes" content="https://raw.github.com/headjs/headjs/master/src/{{site.head.major}}/changelog.txt" />
<meta itemprop="fileFormat" content="application/javascript" />
<meta itemprop="image" content="http://headjs.com/site/assets/img/logos/logo.png" />
<meta itemprop="thumbnailUrl" content="http://headjs.com/favicon.png" />
@@ -81,7 +81,7 @@
<div class="group" style="text-align: left; border-radius: 5px 5px 5px 5px; color: white; background-color: #767676; background: linear-gradient(to bottom, #767676 0%, #000000 100%) repeat scroll 0 0 transparent; padding: 10px">
<div class="float-l">
<h1 itemprop="name" style="font-size: 3em; margin: 0 45px 0 0">HeadJS</h1>
- <strong>v1.0.2</strong>
+ <strong>v{{site.head.minor}}</strong>
</div>
<div class="float-l">
<h2>The only script in your &lt;HEAD&gt;</h2>
@@ -16,21 +16,6 @@ A small path release that fixes a reversion where the no-js class was not remove
- [https://github.com/headjs/headjs/issues/270](https://github.com/headjs/headjs/issues/270)
-<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 Designer 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.2', 'Leave a comment')" style="cursor: pointer;">
<h2>Show Comments</h2>
</div>
View
@@ -1,8 +1,10 @@
{
"name": "headjs",
- "version": "1.0.2",
+ "version": "1.0.3",
"main": ["./dist/1.0.0/head.min.js","./dist/1.0.0/head.min.js.map","./dist/1.0.0/changelog.txt"],
"ignore": [
- "*.*"
+ "**",
+ "\!/dist/*",
+ "\!/src/*"
]
}
@@ -1,3 +1,14 @@
+1.0.3 (2013-11-22)
+ - New: Timeout added to resource loading
+ - New: CSS callbacks now executed for all browsers
+ - 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 when loading resources via scripts like: style.aspx, style.php
+ - Fix: Array loading & trigger not functioning correctly on old browsers
+ - https://github.com/headjs/headjs/issues/274
+ - Fix: ready() sometimes does not trigger if assets are loaded too fast
+ - https://github.com/headjs/headjs/issues/271
+
1.0.2 (2013-11-13)
- Fix: no-js class not being removed
- https://github.com/headjs/headjs/issues/270
@@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>HeadJS</id>
- <version>1.0.2</version>
+ <version>1.0.3</version>
<title>HeadJS</title>
<authors>Robert Hoffmann,Tero Piirainen</authors>
<owners>itechnology</owners>
@@ -44,8 +44,8 @@ head.ready(function() { imReady(); })
<tags>javascript, html, html5, css, css3, loader, responsive design, media queries, feature detection, dependency loading, mobile, tablet</tags>
</metadata>
<files>
- <file src="head.js" target="Content\Scripts\head-1.0.2.js" />
- <file src="head.min.js" target="Content\Scripts\head-1.0.2.min.js" />
+ <file src="head.js" target="Content\Scripts\head-1.0.3.js" />
+ <file src="head.min.js" target="Content\Scripts\head-1.0.3.min.js" />
<file src="changelog.txt" target="Content\Scripts\head-changelog.txt" />
</files>
</package>
View
@@ -8,21 +8,26 @@
</div>
<h2>When you need a quick cross-browser compatible hand, don't bang your head. HeadJS is here to help you out !</h2>
-
<ul>
- <li>Speed up your pageload: Load JS & CSS asyncronously and in parallel</li>
- <li>Load one asset if a condition is met, else fallback and load another one</li>
+ <li>Speed up your apps: Load JS & CSS asyncronously and in parallel, but execute them in order</li>
+ <li>Load one asset if a condition is met, else fallback and load a different one</li>
<li>Manage script dependencies, and execute callbacks once they are loaded</li>
- <li>Use cross-browser/device compatible CSS (pseudo media-queries) to code for different resolutions & devices</li>
- <li>Fix quirks in specific browsers by quickly applying dedicated CSS/JS automatically</li>
- <li>Detect browsers & their versions</li>
- <li>Check if a client supports a certain Browser, HTML5 or CSS3 features</li>
- <li>Generate JS and CSS classes automatically for detected browsers & features</li>
- <li>Generate CSS classes automatically depending on which page or section a user is on</li>
- <li>Know if a user is in landscape or portrait mode</li>
- <li>Know if a user is on a mobile or desktop device</li>
- <li>Make old browsers support HTML5 elements like nav, sidebar, header & footer</li>
- <li>....</li>
+ <li>Cross-browser compatible &laquo; pseudo media-queries &raquo; let you code against different resolutions & devices</li>
+ <li>Fix quirks in specific browsers by quickly applying dedicated CSS/JS logic</li>
+ <li>Detect various browsers & their versions</li>
+ <li>Check if the client supports a certain Browser, HTML5, or CSS3 feature</li>
+ <li>Automatically generates JS and CSS classes for browsers & features that where detected</li>
+ <li>Automatically generates CSS classes, to know what page or section a user is viewing</li>
+ <li>Know if the user is in landscape or portrait mode</li>
+ <li>Or whether the client is using a mobile or desktop device</li>
+ <li>Get old browsers support HTML5 elements like nav, sidebar, header, footer, ...</li>
+ <li>...</li>
+ <li>
+ <strong>Make it, The only script in your &lt;HEAD&gt;</strong>
+ <ul>
+ <li><em>A concise solution to universal problems</em></li>
+ </ul>
+ </li>
</ul>
<h3>Your imagination, Your limit</h3>
View
@@ -19,12 +19,12 @@
],
"keywords": [
"loader",
- "require",
- "polyfill",
- "html5",
- "css3",
- "feature",
- "responsive"
+ "require",
+ "polyfill",
+ "html5",
+ "css3",
+ "feature",
+ "responsive"
],
"repository": {
"type": "git",
@@ -41,7 +41,7 @@
"grunt-saucelabs": "~4.0.2",
"grunt-contrib-connect": "~0.1.2",
"grunt-contrib-watch": "~0.2.0",
- "grunt-contrib-qunit": "~0.3.0"
+ "grunt-contrib-qunit": "~0.3.0"
},
"scripts": {
"test": "grunt test"
View
@@ -4,7 +4,7 @@
scripts: ["/site/assets/libs/jquery/jquery.min.js", "https://cdn.moot.it/latest/moot.min.js", "/site/assets/js/comments.min.js"]
---
-<h2>API documentation v1.0.2</h2>
+<h2>API documentation</h2>
<div class="intro">
Tidy up and accelerate your workflow
</div>
@@ -15,7 +15,7 @@
<h2>
<ul>
<li>
- <a href="/site/api/v1.00.html">v1.0.2</a>
+ <a href="/site/api/v1.00.html">v{{site.head.minor}}</a>
</li>
<li>
<a href="/site/api/v2.00.html">v2.0.0 (work in progress)</a>
Oops, something went wrong.

0 comments on commit 5553a5b

Please sign in to comment.