Skip to content

Commit

Permalink
update deps + build
Browse files Browse the repository at this point in the history
  • Loading branch information
voronianski committed Mar 3, 2018
1 parent c8f71b5 commit c9bb2d9
Show file tree
Hide file tree
Showing 4 changed files with 6,359 additions and 14 deletions.
8 changes: 4 additions & 4 deletions dist/soundcloud-audio.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var o;"undefined"!=typeof window?o=window:"undefined"!=typeof global?o=global:"undefined"!=typeof self&&(o=self),o.SoundCloudAudio=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.SoundCloudAudio = f()}})(function(){var define,module,exports;return (function(){function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s}return e})()({1:[function(require,module,exports){
'use strict';

var anchor;
Expand Down Expand Up @@ -187,7 +187,7 @@ SoundCloud.prototype.play = function (options) {

this.playing = src;

this.audio.play();
return this.audio.play();
};

SoundCloud.prototype.pause = function () {
Expand All @@ -214,7 +214,7 @@ SoundCloud.prototype.next = function (options) {
}

if (this._playlist && tracksLength) {
this.play({playlistIndex: ++this._playlistIndex});
return this.play({playlistIndex: ++this._playlistIndex});
}
};

Expand All @@ -224,7 +224,7 @@ SoundCloud.prototype.previous = function () {
}

if (this._playlist && this._playlist.tracks.length) {
this.play({playlistIndex: --this._playlistIndex});
return this.play({playlistIndex: --this._playlistIndex});
}
};

Expand Down
2 changes: 1 addition & 1 deletion dist/soundcloud-audio.min.js

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

Loading

0 comments on commit c9bb2d9

Please sign in to comment.