Skip to content

Commit

Permalink
Update to 3.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
IonDen committed Aug 4, 2015
1 parent 3b35244 commit 362014a
Show file tree
Hide file tree
Showing 8 changed files with 55 additions and 37 deletions.
6 changes: 3 additions & 3 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ion-sound",
"version": "3.0.5",
"version": "3.0.6",
"homepage": "https://github.com/IonDen/ion.sound",
"authors": [
{
Expand All @@ -24,11 +24,11 @@
"sound",
"music",
"html5",
"events",
"WebAudioAPI",
"mp3",
"ogg",
"aac",
"events"
"aac"
],
"license": "MIT",
"ignore": [
Expand Down
4 changes: 4 additions & 0 deletions history.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Ion.Sound Update History

### Version 3.0.6. July 27, 2015
* Fixed bug #49
* Attempt to fix #35

### Version 3.0.5. July 27, 2015
* Fixed bug #44

Expand Down
5 changes: 3 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.5",
"version": "3.0.6",
"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 All @@ -9,6 +9,7 @@
"web",
"audio",
"api",
"WebAudioAPI",
"html5",
"events",
"alert",
Expand All @@ -31,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.5.zip"
"download": "http://ionden.com/a/plugins/ion.sound/ion.sound-3.0.6.zip"
}
20 changes: 16 additions & 4 deletions js/ion.sound.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Ion.Sound
* version 3.0.5 Build 85
* version 3.0.6 Build 88
* © Denis Ineshin, 2015
*
* Project page: http://ionden.com/a/plugins/ion.sound/en.html
Expand Down Expand Up @@ -126,7 +126,7 @@
}
};

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

ion.sound._method = function (method, name, options) {
if (name) {
Expand Down Expand Up @@ -543,14 +543,26 @@
return;
}

this.source.start(0, start, end);
if (typeof this.source.start === "function") {
this.source.start(0, start, end);
} else {
this.source.noteOn(0, start, end);
}

this.playing = true;
this.paused = false;
this.time_started = new Date().valueOf();
},

stop: function () {
this.source && this.source.stop(0);
if (this.playing && this.source) {
if (typeof this.source.stop === "function") {
this.source.stop(0);
} else {
this.source.noteOff(0);
}
}

this.clear();
},

Expand Down
46 changes: 23 additions & 23 deletions js/ion.sound.min.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ion-sound",
"version": "3.0.5",
"version": "3.0.6",
"description": "JavaScript plugin for playing sounds and music in web",
"homepage": "http://ionden.com/a/plugins/ion.sound/en.html",
"author": {
Expand All @@ -14,6 +14,7 @@
"web",
"audio",
"api",
"WebAudioAPI",
"html5",
"events",
"alert",
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Ion.Sound 3.0.5
# Ion.Sound 3.0.6

[![](https://pledgie.com/campaigns/25694.png?skin_name=chrome)](https://pledgie.com/campaigns/25694)

> English description | <a href="readme.ru.md">Описание на русском</a>
JavaScript plugin for playing sounds on user actions and page events.
* <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.5.zip">Download ion.sound-3.0.5.zip</a>
* <a href="http://ionden.com/a/plugins/ion.sound/ion.sound-3.0.6.zip">Download ion.sound-3.0.6.zip</a>

***
*<sup><a href="https://github.com/IonDen/ion.rangeSlider/blob/master/designer.md">Designer wanted to create a project logo</a></sup>*
Expand Down
4 changes: 2 additions & 2 deletions readme.ru.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Ion.Sound 3.0.5
# Ion.Sound 3.0.6

[![](https://pledgie.com/campaigns/25694.png?skin_name=chrome)](https://pledgie.com/campaigns/25694)

> <a href="readme.md">English description</a> | Описание на русском
JavaScript-плагин для воспроизведения звуков
* <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.5.zip">Скачать ion.sound-3.0.5.zip</a>
* <a href="http://ionden.com/a/plugins/ion.sound/ion.sound-3.0.6.zip">Скачать ion.sound-3.0.6.zip</a>

***
*<sup><a href="https://github.com/IonDen/ion.rangeSlider/blob/master/designer.md">Ищу дизайнера для создания логотипа проекта</a></sup>*
Expand Down

0 comments on commit 362014a

Please sign in to comment.