Skip to content

Commit 9c751ae

Browse files
Fixed a bug where IE11 would reject a media expression that is an empty string,
1 parent 8aedaa8 commit 9c751ae

File tree

6 files changed

+15
-5
lines changed

6 files changed

+15
-5
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ If you need to support Internet Explorer 8 or below their are two options availa
3434

3535
##Release Log
3636

37+
###3.1.2 - June 17th, 2016
38+
* 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.
39+
3740
###3.1.1 - March 8th, 2016
3841
* Fixed bug that prevented removing states correctly removing the listeners
3942

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "SimpleStateManager",
3-
"version": "3.1.1",
3+
"version": "3.1.2",
44
"main": "src/ssm.js",
55
"ignore": [
66
"**/.*",

dist/ssm.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "simplestatemanager",
33
"description": "SimpleStateManager ==================",
4-
"version": "3.1.1",
4+
"version": "3.1.2",
55
"main": "src/ssm.js",
66
"scripts": {
77
"test": "grunt travis --verbose"

releases.json

+7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
[
2+
{
3+
"version" : "3.1.2",
4+
"date" : "June 17th, 2016",
5+
"items" : [
6+
"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."
7+
]
8+
},
29
{
310
"version" : "3.1.1",
411
"date" : "March 8th, 2016",

src/ssm.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
function State(options) {
3232
this.id = options.id || makeID();
33-
this.query = options.query || '';
33+
this.query = options.query || 'all';
3434
// These are exposed as part of the state, not options so delete before
3535
// we merge these into default options.
3636
delete options.id;

0 commit comments

Comments
 (0)