Skip to content

Commit

Permalink
Update to 2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
IonDen committed Oct 25, 2014
1 parent 10d7db1 commit 397633a
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 20 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": "2.1.0",
"version": "2.1.1",
"homepage": "https://github.com/IonDen/ion.sound",
"authors": [
{
Expand Down
2 changes: 1 addition & 1 deletion ion-sound.jquery.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ion-sound",
"version": "2.1.0",
"version": "2.1.1",
"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
10 changes: 5 additions & 5 deletions js/ion.sound.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Ion.Sound
* version 2.1.0 Build 42
* version 2.1.1 Build 43
* © 2014 Denis Ineshin | IonDen.com
*
* Project page: http://ionden.com/a/plugins/ion.sound/en.html
Expand Down Expand Up @@ -174,15 +174,15 @@ var ion = ion || {};
if (can_play_mp3 === "probably") {
ext = ".mp3";
} else if (can_play_aac === "probably") {
ext = ".ogg";
} else if (can_play_ogg === "probably") {
ext = ".aac";
} else if (can_play_ogg === "probably") {
ext = ".ogg";
} else if (can_play_aac === "maybe") {
ext = ".aac";
} else if (can_play_mp3 === "maybe") {
ext = ".ogg";
} else if (can_play_ogg === "maybe") {
ext = ".mp3";
} else if (can_play_ogg === "maybe") {
ext = ".ogg";
} else {
ext = ".wav";
}
Expand Down
4 changes: 2 additions & 2 deletions js/ion.sound.min.js

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

10 changes: 5 additions & 5 deletions js/jquery.ion.sound.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* jQuery.Ion.Sound
* version 2.1.0 Build 42
* version 2.1.1 Build 43
* © 2014 Denis Ineshin | IonDen.com
*
* Project page: http://ionden.com/a/plugins/ion.sound/en.html
Expand Down Expand Up @@ -172,15 +172,15 @@
if (can_play_mp3 === "probably") {
ext = ".mp3";
} else if (can_play_aac === "probably") {
ext = ".ogg";
} else if (can_play_ogg === "probably") {
ext = ".aac";
} else if (can_play_ogg === "probably") {
ext = ".ogg";
} else if (can_play_aac === "maybe") {
ext = ".aac";
} else if (can_play_mp3 === "maybe") {
ext = ".ogg";
} else if (can_play_ogg === "maybe") {
ext = ".mp3";
} else if (can_play_ogg === "maybe") {
ext = ".ogg";
} else {
ext = ".wav";
}
Expand Down
4 changes: 2 additions & 2 deletions js/jquery.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 2.1.0
# Ion.Sound 2.1.1

> 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-2.1.0.zip">Download ion.sound-2.1.0.zip</a>
* <a href="http://ionden.com/a/plugins/ion.sound/ion.sound-2.1.1.zip">Download ion.sound-2.1.1.zip</a>

***

Expand Down Expand Up @@ -204,6 +204,7 @@ ion.sound.destroy();


## Update history
* 2.1.1: October 25, 2014 - Minor fix.
* 2.1.0: October 25, 2014 - Fixed bug #12. AAC files support. Callback onEnded.
* 2.0.2: August 08, 2014 - New pause method. Add bower support
* 2.0.1: August 01, 2014 - 2 versions of plugin, jQuery and non-jQuery
Expand Down
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 2.1.0
# Ion.Sound 2.1.1

> <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-2.1.0.zip">Скачать ion.sound-2.1.0.zip</a>
* <a href="http://ionden.com/a/plugins/ion.sound/ion.sound-2.1.1.zip">Скачать ion.sound-2.1.1.zip</a>

***

Expand Down Expand Up @@ -202,6 +202,7 @@ ion.sound.destroy();


## История обновлений
* 2.1.1: 25 октября 2014 - мини-фикс.
* 2.1.0: 25 октября 2014 - исправлен баг #12. Добавлена поддержка .aac. Добавен коллбэк onEnded.
* 2.0.2: 08 августа 2014 - новый метод - пауза. Добавлена поддержка bower
* 2.0.1: 01 августа 2014 - 2 версии плагина, с jQuery-зависимостью и без
Expand Down

0 comments on commit 397633a

Please sign in to comment.