Skip to content

Commit

Permalink
Release v1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
vodkabears committed Oct 12, 2015
1 parent 43b3c8c commit 234f10b
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 1.0.4
* Fix IOS 9 safari scaling issues.
* Update dependencies.

### 1.0.3
* Migrate from legacy to container-based infrastructure on Travis.
* Fix keyboard navigation accessibility issue.
Expand Down
2 changes: 1 addition & 1 deletion dist/remodal-default-theme.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Remodal - v1.0.3
* Remodal - v1.0.4
* Responsive, lightweight, fast, synchronized with CSS animations, fully customizable modal window plugin with declarative configuration and hash tracking.
* http://vodkabears.github.io/remodal/
*
Expand Down
2 changes: 1 addition & 1 deletion dist/remodal.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Remodal - v1.0.3
* Remodal - v1.0.4
* Responsive, lightweight, fast, synchronized with CSS animations, fully customizable modal window plugin with declarative configuration and hash tracking.
* http://vodkabears.github.io/remodal/
*
Expand Down
18 changes: 17 additions & 1 deletion dist/remodal.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Remodal - v1.0.3
* Remodal - v1.0.4
* Responsive, lightweight, fast, synchronized with CSS animations, fully customizable modal window plugin with declarative configuration and hash tracking.
* http://vodkabears.github.io/remodal/
*
Expand Down Expand Up @@ -122,6 +122,14 @@
style.OAnimationName !== undefined;
})();

/**
* Is iOS?
* @private
* @const
* @type {Boolean}
*/
var IS_IOS = /iPad|iPhone|iPod/.test(navigator.platform);

/**
* Current modal
* @private
Expand Down Expand Up @@ -237,6 +245,10 @@
* @private
*/
function lockScreen() {
if (IS_IOS) {
return;
}

var $html = $('html');
var lockedClass = namespacify('is-locked');
var paddingRight;
Expand All @@ -258,6 +270,10 @@
* @private
*/
function unlockScreen() {
if (IS_IOS) {
return;
}

var $html = $('html');
var lockedClass = namespacify('is-locked');
var paddingRight;
Expand Down
4 changes: 2 additions & 2 deletions dist/remodal.min.js

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

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "remodal",
"version": "1.0.3",
"version": "1.0.4",
"description": "Responsive, lightweight, fast, synchronized with CSS animations, fully customizable modal window plugin with declarative configuration and hash tracking.",
"keywords": [
"jquery-plugin",
Expand Down Expand Up @@ -55,6 +55,7 @@
},
"scripts": {
"start": "npm install && ./node_modules/.bin/bower install && ./node_modules/.bin/grunt githooks",
"test": "./node_modules/.bin/grunt test"
"test": "./node_modules/.bin/grunt test",
"dist": "./node_modules/.bin/grunt"
}
}

0 comments on commit 234f10b

Please sign in to comment.