Skip to content

Commit 74d51c5

Browse files
committed
Update to 3.0.7
1 parent 080041c commit 74d51c5

File tree

8 files changed

+40
-38
lines changed

8 files changed

+40
-38
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ion-sound",
3-
"version": "3.0.6",
3+
"version": "3.0.7",
44
"homepage": "https://github.com/IonDen/ion.sound",
55
"authors": [
66
{

history.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
![ion.sound](_tmp/logo-ion-sound.png)
1+
# Ion.Sound Update History
22

3-
# Update History
3+
### Version 3.0.7. March 06, 2016
4+
* Fixed bug #71
45

56
### Version 3.0.6. August 04, 2015
67
* Fixed bug #49
@@ -73,9 +74,3 @@
7374

7475
### Version 1.0.0. September 07, 2013
7576
* Plugin release
76-
77-
***
78-
79-
Support the plugin:
80-
81-
[![](https://pledgie.com/campaigns/25694.png?skin_name=chrome)](https://pledgie.com/campaigns/25694)

ion-sound.jquery.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ion-sound",
3-
"version": "3.0.6",
3+
"version": "3.0.7",
44
"title": "Ion.Sound",
55
"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.",
66
"keywords": [
@@ -32,5 +32,5 @@
3232
"homepage": "https://github.com/IonDen/ion.sound",
3333
"docs": "https://github.com/IonDen/ion.sound/blob/master/readme.md",
3434
"demo": "http://ionden.com/a/plugins/ion.sound/en.html",
35-
"download": "http://ionden.com/a/plugins/ion.sound/ion.sound-3.0.6.zip"
35+
"download": "http://ionden.com/a/plugins/ion.sound/ion.sound-3.0.7.zip"
3636
}

js/ion.sound.js

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* Ion.Sound
3-
* version 3.0.6 Build 88
4-
* © Denis Ineshin, 2015
3+
* version 3.0.7 Build 89
4+
* © Denis Ineshin, 2016
55
*
66
* Project page: http://ionden.com/a/plugins/ion.sound/en.html
77
* GitHub page: https://github.com/IonDen/ion.sound
@@ -126,7 +126,7 @@
126126
}
127127
};
128128

129-
ion.sound.VERSION = "3.0.6";
129+
ion.sound.VERSION = "3.0.7";
130130

131131
ion.sound._method = function (method, name, options) {
132132
if (name) {
@@ -264,6 +264,10 @@
264264
return;
265265
}
266266

267+
if (this.request) {
268+
return;
269+
}
270+
267271
this.createUrl();
268272

269273
this.request = new XMLHttpRequest();
@@ -365,10 +369,9 @@
365369
}
366370

367371
if (!this.loaded) {
368-
if (!this.options.preload) {
369-
this.autoplay = true;
370-
this.load();
371-
}
372+
this.autoplay = true;
373+
this.load();
374+
372375
return;
373376
}
374377

@@ -760,11 +763,15 @@
760763
extend(options, this.options);
761764
}
762765

766+
console.log(1);
763767
if (!this.loaded) {
764768
if (!this.options.preload) {
765769
this.autoplay = true;
766770
this.load();
771+
} else {
772+
this.autoplay = true;
767773
}
774+
768775
return;
769776
}
770777

js/ion.sound.min.js

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ion-sound",
3-
"version": "3.0.6",
3+
"version": "3.0.7",
44
"description": "JavaScript plugin for playing sounds and music in web",
55
"homepage": "http://ionden.com/a/plugins/ion.sound/en.html",
66
"author": {

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ JavaScript plugin for playing sounds on user actions and page events.
66

77
***
88

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

1313
## Description
1414
* Ion.Sound — JavaScript-plugin for playing sounds based on Web Audio API.

readme.ru.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ JavaScript-плагин для воспроизведения звуков
66

77
***
88

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

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

0 commit comments

Comments
 (0)