Skip to content

Commit

Permalink
add some resources
Browse files Browse the repository at this point in the history
  • Loading branch information
longlho committed Jul 5, 2012
1 parent 17fbe69 commit 2bd24e2
Show file tree
Hide file tree
Showing 11 changed files with 7,690 additions and 0 deletions.
26 changes: 26 additions & 0 deletions js/bootstrap-audioplayer.js
@@ -0,0 +1,26 @@
// Bootstrap Audio Player
// -----
// v1.0.0
// Long Ho
//
// Requires Twitter Bootstrap v2.0.3+

(function () {
'use strict';

$.fn.audioplayer = function (option) {
return this.each(function () {
var $this = $(this);
var data = $this.data('audioplayer')
, options = typeof option === 'object' && option;
if (!data) $this.data('audioplayer', (data = new AudioPlayer(this, options)));
if (typeof option === 'string') data[option]();
});
}

$.fn.audioplayer.defaults = {

};

$.fn.auidoplayer.constructor = AudioPlayer;
})(window.jQuery);
3 changes: 3 additions & 0 deletions less/audioplayer.less
@@ -0,0 +1,3 @@
.audioplayer {

}

0 comments on commit 2bd24e2

Please sign in to comment.