Skip to content

Commit

Permalink
Merge branch 'master' into reread-slide-size
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Oct 5, 2016
2 parents fb44c7a + 487cc62 commit 12f3d8c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "bespoke-scale",
"version": "1.0.0",
"version": "1.0.1",
"main": "./dist/bespoke-scale.js",
"dependencies": {
"bespoke.js": "^1.0.0"
"bespoke.js": ">=1.0.0"
}
}
4 changes: 2 additions & 2 deletions dist/bespoke-scale.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* bespoke-scale v1.0.0
* bespoke-scale v1.0.1
*
* Copyright 2014, Mark Dalgleish
* This content is released under the MIT license
Expand All @@ -18,7 +18,7 @@ module.exports = function(options) {
wrap = function(element) {
var wrapper = document.createElement('div');
wrapper.className = 'bespoke-scale-parent';
parent.insertBefore(wrapper, element);
element.parentNode.insertBefore(wrapper, element);
wrapper.appendChild(element);
return wrapper;
},
Expand Down
4 changes: 2 additions & 2 deletions dist/bespoke-scale.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 lib/bespoke-scale.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = function(options) {
wrap = function(element) {
var wrapper = document.createElement('div');
wrapper.className = 'bespoke-scale-parent';
parent.insertBefore(wrapper, element);
element.parentNode.insertBefore(wrapper, element);
wrapper.appendChild(element);
return wrapper;
},
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bespoke-scale",
"version": "1.0.0",
"version": "1.0.1",
"description": "Responsive Slide Scaling for Bespoke.js",
"homepage": "https://github.com/markdalgleish/bespoke-scale",
"bugs": "https://github.com/markdalgleish/bespoke-scale/issues",
Expand All @@ -18,7 +18,7 @@
"coveralls": "gulp coveralls"
},
"peerDependencies": {
"bespoke": "^1.0.0"
"bespoke": ">=1.0.0"
},
"devDependencies": {
"bespoke": "^1.0.0",
Expand Down

0 comments on commit 12f3d8c

Please sign in to comment.