Skip to content

Commit

Permalink
Update to 3.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
IonDen committed Mar 6, 2016
1 parent 080041c commit 74d51c5
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 38 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ion-sound",
"version": "3.0.6",
"version": "3.0.7",
"homepage": "https://github.com/IonDen/ion.sound",
"authors": [
{
Expand Down
11 changes: 3 additions & 8 deletions history.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
![ion.sound](_tmp/logo-ion-sound.png)
# Ion.Sound Update History

# Update History
### Version 3.0.7. March 06, 2016
* Fixed bug #71

### Version 3.0.6. August 04, 2015
* Fixed bug #49
Expand Down Expand Up @@ -73,9 +74,3 @@

### Version 1.0.0. September 07, 2013
* Plugin release

***

Support the plugin:

[![](https://pledgie.com/campaigns/25694.png?skin_name=chrome)](https://pledgie.com/campaigns/25694)
4 changes: 2 additions & 2 deletions ion-sound.jquery.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ion-sound",
"version": "3.0.6",
"version": "3.0.7",
"title": "Ion.Sound",
"description": "JavaScript plugin for playing sounds on user actions and events. Today websites are full of events (new mail, new chat-message, content update etc.). Often it is not enough to indicate this events only visually to get user attention. You need sounds! This library, made for playing small sounds, will help you with this task.",
"keywords": [
Expand Down Expand Up @@ -32,5 +32,5 @@
"homepage": "https://github.com/IonDen/ion.sound",
"docs": "https://github.com/IonDen/ion.sound/blob/master/readme.md",
"demo": "http://ionden.com/a/plugins/ion.sound/en.html",
"download": "http://ionden.com/a/plugins/ion.sound/ion.sound-3.0.6.zip"
"download": "http://ionden.com/a/plugins/ion.sound/ion.sound-3.0.7.zip"
}
21 changes: 14 additions & 7 deletions js/ion.sound.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Ion.Sound
* version 3.0.6 Build 88
* © Denis Ineshin, 2015
* version 3.0.7 Build 89
* © Denis Ineshin, 2016
*
* Project page: http://ionden.com/a/plugins/ion.sound/en.html
* GitHub page: https://github.com/IonDen/ion.sound
Expand Down Expand Up @@ -126,7 +126,7 @@
}
};

ion.sound.VERSION = "3.0.6";
ion.sound.VERSION = "3.0.7";

ion.sound._method = function (method, name, options) {
if (name) {
Expand Down Expand Up @@ -264,6 +264,10 @@
return;
}

if (this.request) {
return;
}

this.createUrl();

this.request = new XMLHttpRequest();
Expand Down Expand Up @@ -365,10 +369,9 @@
}

if (!this.loaded) {
if (!this.options.preload) {
this.autoplay = true;
this.load();
}
this.autoplay = true;
this.load();

return;
}

Expand Down Expand Up @@ -760,11 +763,15 @@
extend(options, this.options);
}

console.log(1);
if (!this.loaded) {
if (!this.options.preload) {
this.autoplay = true;
this.load();
} else {
this.autoplay = true;
}

return;
}

Expand Down
30 changes: 15 additions & 15 deletions js/ion.sound.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ion-sound",
"version": "3.0.6",
"version": "3.0.7",
"description": "JavaScript plugin for playing sounds and music in web",
"homepage": "http://ionden.com/a/plugins/ion.sound/en.html",
"author": {
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ JavaScript plugin for playing sounds on user actions and page events.

***

* Version: 3.0.6
* Version: 3.0.7
* <a href="http://ionden.com/a/plugins/ion.sound/en.html">Project page and demos</a>
* <a href="http://ionden.com/a/plugins/ion.sound/ion.sound-3.0.6.zip">Download ZIP</a>
* <a href="http://ionden.com/a/plugins/ion.sound/ion.sound-3.0.7.zip">Download ZIP</a>

## Description
* Ion.Sound — JavaScript-plugin for playing sounds based on Web Audio API.
Expand Down
4 changes: 2 additions & 2 deletions readme.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ JavaScript-плагин для воспроизведения звуков

***

* Версия: 3.0.6
* Версия: 3.0.7
* <a href="http://ionden.com/a/plugins/ion.sound/index.html">Сайт проекта и демо</a>
* <a href="http://ionden.com/a/plugins/ion.sound/ion.sound-3.0.6.zip">Скачать ZIP-архив</a>
* <a href="http://ionden.com/a/plugins/ion.sound/ion.sound-3.0.7.zip">Скачать ZIP-архив</a>

## Описание
* Ion.Sound — JavaScript-плагин для воспроизведения звуков, основанный на Web Audio API.
Expand Down

0 comments on commit 74d51c5

Please sign in to comment.