Skip to content

Commit

Permalink
Fixed a bug where IE11 would reject a media expression that is an emp…
Browse files Browse the repository at this point in the history
…ty string,
  • Loading branch information
jonathan-fielding committed Jun 17, 2016
1 parent 8aedaa8 commit 9c751ae
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 5 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ If you need to support Internet Explorer 8 or below their are two options availa

##Release Log

###3.1.2 - June 17th, 2016
* Fixed a bug where IE11 would reject a media expression that is an empty string, switched to provide a media expersion that is always true as the default.

###3.1.1 - March 8th, 2016
* Fixed bug that prevented removing states correctly removing the listeners

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "SimpleStateManager",
"version": "3.1.1",
"version": "3.1.2",
"main": "src/ssm.js",
"ignore": [
"**/.*",
Expand Down
4 changes: 2 additions & 2 deletions dist/ssm.min.js

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "simplestatemanager",
"description": "SimpleStateManager ==================",
"version": "3.1.1",
"version": "3.1.2",
"main": "src/ssm.js",
"scripts": {
"test": "grunt travis --verbose"
Expand Down
7 changes: 7 additions & 0 deletions releases.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
[
{
"version" : "3.1.2",
"date" : "June 17th, 2016",
"items" : [
"Fixed a bug where IE11 would reject a media expression that is an empty string, switched to provide a media expersion that is always true as the default."
]
},
{
"version" : "3.1.1",
"date" : "March 8th, 2016",
Expand Down
2 changes: 1 addition & 1 deletion src/ssm.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

function State(options) {
this.id = options.id || makeID();
this.query = options.query || '';
this.query = options.query || 'all';
// These are exposed as part of the state, not options so delete before
// we merge these into default options.
delete options.id;
Expand Down

0 comments on commit 9c751ae

Please sign in to comment.