Skip to content

Commit

Permalink
Update to 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
IonDen committed Sep 8, 2013
1 parent 6c5ba67 commit 137b15d
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 12 deletions.
8 changes: 5 additions & 3 deletions ion-sound.jquery.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
{
"name": "ion-sound",
"version": "1.0.0",
"version": "1.0.1",
"title": "Ion.Sound",
"description": "Plugin for playing sounds on events",
"description": "Plugin for playing sounds on 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": [
"sound",
"sounds",
"audio",
"html5",
"events",
"alert",
"mp3",
"ogg",
"ui"
],
"author": {
Expand All @@ -26,7 +28,7 @@
"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-1.0.0.zip",
"download": "http://ionden.com/a/plugins/ion.sound/ion.sound-1.0.1.zip",
"dependencies": {
"jquery": ">=1.9"
}
Expand Down
9 changes: 7 additions & 2 deletions js/ion-sound/ion.sound.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Ion.Sound
// version 1.0.0 Build: 3
// version 1.0.1 Build: 4
// © 2013 Denis Ineshin | IonDen.com
//
// Project page: http://ionden.com/a/plugins/ion.sound/en.html
Expand Down Expand Up @@ -84,7 +84,12 @@ ion.sound = {
}
}, 250);
} else if(this.multiPlay) {
$sound.play();
if($sound.ended) {
$sound.play();
} else {
$sound.currentTime = 0;
$sound.play();
}
}

}
Expand Down
6 changes: 3 additions & 3 deletions js/ion-sound/ion.sound.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Ion.Sound 1.0.0
# Ion.Sound 1.0.1

> English description | <a href="readme.ru.md">Описание на русском</a>
Plugin for playing sounds on 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-1.0.0.zip">Download ion.sound-1.0.0.zip</a>
* <a href="http://ionden.com/a/plugins/ion.sound/ion.sound-1.0.1.zip">Download ion.sound-1.0.1.zip</a>

***

Expand Down Expand Up @@ -113,4 +113,5 @@ $("#myButton").on("click", function(){


## Update history
* September 08, 2013 - Little enhancement
* September 07, 2013 - Plugin release
5 changes: 3 additions & 2 deletions readme.ru.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Ion.Sound 1.0.0
# Ion.Sound 1.0.1

> <a href="readme.md">English description</a> | Описание на русском
Плагин для воспроизведения звуков событий.
* <a href="http://ionden.com/a/plugins/ion.sound/index.html">Сайт проекта и демо</a>
* <a href="http://ionden.com/a/plugins/ion.sound/ion.sound-1.0.0.zip">Скачать ion.sound-1.0.0.zip</a>
* <a href="http://ionden.com/a/plugins/ion.sound/ion.sound-1.0.1.zip">Скачать ion.sound-1.0.1.zip</a>

***

Expand Down Expand Up @@ -110,4 +110,5 @@ $("#myButton").on("click", function(){


## История обновлений
* 08.09.2013 - небольшое улучшение
* 07.09.2013 - релиз плагина

0 comments on commit 137b15d

Please sign in to comment.