Skip to content

Commit

Permalink
Bumping versions and rebuilding
Browse files Browse the repository at this point in the history
  • Loading branch information
chipbell4 committed Jul 9, 2018
1 parent 4f6b702 commit 82b8f3d
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 18 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "springroll-container",
"version": "1.1.0",
"version": "1.1.1",
"main": "dist/container.min.js",
"dependencies":
{
Expand Down
21 changes: 13 additions & 8 deletions dist/container.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! SpringRoll Container 1.1.0 */
/*! SpringRoll Container 1.1.1 */
/**
* @module Core
* @namespace window
Expand Down Expand Up @@ -1389,9 +1389,9 @@
* @property {String} version
* @static
* @readOnly
* @default "1.1.0"
* @default "1.1.1"
*/
Container.version = "1.1.0";
Container.version = "1.1.1";

//Reference to the prototype
var s = EventDispatcher.prototype;
Expand Down Expand Up @@ -2611,7 +2611,8 @@

this.onPauseToggle = onPauseToggle.bind(this);

for(var i = 0; i < this.pauseButton.length; i++){
for (var i = 0; i < this.pauseButton.length; i++)
{
this.pauseButton[i].addEventListener('click', this.onPauseToggle);
}

Expand Down Expand Up @@ -2673,7 +2674,8 @@
this.trigger('pause', paused);

// Set the pause button state
for(var i = 0; i < this.pauseButton.length; i++){
for (var i = 0; i < this.pauseButton.length; i++)
{
var element = this.pauseButton[i];
element.classList.remove('unpaused');
element.classList.remove('paused');
Expand Down Expand Up @@ -2709,7 +2711,8 @@

plugin.opened = function()
{
for(var i = 0; i < this.pauseButton.length; i++){
for (var i = 0; i < this.pauseButton.length; i++)
{
this.pauseButton[i].classList.remove('disabled');
}

Expand All @@ -2719,15 +2722,17 @@

plugin.close = function()
{
for(var i = 0; i < this.pauseButton.length; i++){
for (var i = 0; i < this.pauseButton.length; i++)
{
this._disableButton.bind(this.pauseButton[i]);
}
this.paused = false;
};

plugin.teardown = function()
{
for(var i = 0; i < this.pauseButton.length; i++){
for (var i = 0; i < this.pauseButton.length; i++)
{
this.pauseButton[i].removeEventListener('click', this.onPauseToggle);
}
delete this.pauseButton;
Expand Down
4 changes: 2 additions & 2 deletions dist/container.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "SpringRoll Container",
"version": "1.1.0",
"version": "1.1.1",
"description": "The iframe controller for interacting with SpringRoll applications",
"url": "https://github.com/SpringRoll/SpringRollContainer",
"output": "container",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "springroll-container",
"version": "1.1.0",
"version": "1.1.1",
"description": "The iframe controller for interacting with SpringRoll applications",
"main": "./dist/container.min.js",
"author":
Expand Down
15 changes: 10 additions & 5 deletions src/container/plugins/PausePlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@

this.onPauseToggle = onPauseToggle.bind(this);

for(var i = 0; i < this.pauseButton.length; i++){
for (var i = 0; i < this.pauseButton.length; i++)
{
this.pauseButton[i].addEventListener('click', this.onPauseToggle);
}

Expand Down Expand Up @@ -81,7 +82,8 @@
this.trigger('pause', paused);

// Set the pause button state
for(var i = 0; i < this.pauseButton.length; i++){
for (var i = 0; i < this.pauseButton.length; i++)
{
var element = this.pauseButton[i];
element.classList.remove('unpaused');
element.classList.remove('paused');
Expand Down Expand Up @@ -117,7 +119,8 @@

plugin.opened = function()
{
for(var i = 0; i < this.pauseButton.length; i++){
for (var i = 0; i < this.pauseButton.length; i++)
{
this.pauseButton[i].classList.remove('disabled');
}

Expand All @@ -127,15 +130,17 @@

plugin.close = function()
{
for(var i = 0; i < this.pauseButton.length; i++){
for (var i = 0; i < this.pauseButton.length; i++)
{
this._disableButton.bind(this.pauseButton[i]);
}
this.paused = false;
};

plugin.teardown = function()
{
for(var i = 0; i < this.pauseButton.length; i++){
for (var i = 0; i < this.pauseButton.length; i++)
{
this.pauseButton[i].removeEventListener('click', this.onPauseToggle);
}
delete this.pauseButton;
Expand Down

0 comments on commit 82b8f3d

Please sign in to comment.