Skip to content

Commit

Permalink
More updates…
Browse files Browse the repository at this point in the history
Added info to CHANGELOG and README, tweaked JS  and generated new min
file.
  • Loading branch information
Micky Hulse committed Jul 27, 2012
1 parent c755965 commit 28fd1d0
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 5 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,23 @@

---

## v0.1.1
#### July 26, 2012

* Bumped version number.
* Made "private" methods truly private.
* [More info here](http://stackoverflow.com/questions/11621430/javascript-module-pattern-when-to-go-private-with-methods-getters-setters-roo/11621455).
* Updated README.md.
* Removed outside `MQ || {}` check.
* [More info here](https://gist.github.com/3186282).
* Updated minified script: Using [YUI Compressor 2.4.2](http://compressorrater.thruhere.net/) with `nomunge`, `preserveAllSemi`, `disableOpt` options.

##### Browser tests:

* Coming tomorrow...

---

## v0.1.0
#### July 22, 2012

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ This has a number of advantages over using `window.matchMedia()`, namely that yo

### 1. CSS

Define a set of html `font-family` and/or `:after` strings in your stylesheet that correspond to the media queries you wish to test for:
Define a set of html `font-family` **and** `:after` strings in your stylesheet that correspond to the media queries you wish to test for:

```css
html { font-family: "small"; }
Expand Down
6 changes: 3 additions & 3 deletions js-media-queries/onmediaquery-0.1.0.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
* @license Released under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
* @version 0.1.0
* @date Sun 23 July, 2012
* @date Sun 26 July, 2012
*/

var MQ = (function(mq) {

mq = mq || {}; // Is this redundant?
mq = mq || {}; // Assign mq to mq or an empty object.

//--------------------------------------------------------------------------
//
Expand Down Expand Up @@ -265,4 +265,4 @@ var MQ = (function(mq) {

return mq; // Expose the API.

}(MQ || {}));
}(MQ));
2 changes: 1 addition & 1 deletion js-media-queries/onmediaquery-0.1.0.min.js

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

0 comments on commit 28fd1d0

Please sign in to comment.