Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
sgy committed Feb 5, 2018
1 parent 6e32a00 commit ce5bcfc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 23 deletions.
14 changes: 3 additions & 11 deletions lib/index.es.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8536,7 +8536,7 @@ var Flv = function (_CustEvent) {
}, {
key: 'version',
get: function get() {
return "1.4.9";
return "1.4.10";
}

/**
Expand Down Expand Up @@ -10244,13 +10244,6 @@ var WebSocketLoader = function (_CustEvent) {
}

_createClass(WebSocketLoader, [{
key: 'destroy',
value: function destroy() {
if (this._ws) {
this.abort();
}
}
}, {
key: 'open',
value: function open(range, keyframePoint) {
try {
Expand All @@ -10269,14 +10262,13 @@ var WebSocketLoader = function (_CustEvent) {
}
}
}, {
key: 'abort',
value: function abort() {
key: 'pause',
value: function pause() {
var ws = this._ws;
if (ws && (ws.readyState === 0 || ws.readyState === 1)) {
this._requestAbort = true;
ws.close();
}

this._ws = null;
}
}, {
Expand Down
14 changes: 3 additions & 11 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8488,7 +8488,7 @@ var Flv = function (_CustEvent) {
}, {
key: 'version',
get: function get() {
return "1.4.9";
return "1.4.10";
}

/**
Expand Down Expand Up @@ -10196,13 +10196,6 @@ var WebSocketLoader = function (_CustEvent) {
}

_createClass(WebSocketLoader, [{
key: 'destroy',
value: function destroy() {
if (this._ws) {
this.abort();
}
}
}, {
key: 'open',
value: function open(range, keyframePoint) {
try {
Expand All @@ -10221,14 +10214,13 @@ var WebSocketLoader = function (_CustEvent) {
}
}
}, {
key: 'abort',
value: function abort() {
key: 'pause',
value: function pause() {
var ws = this._ws;
if (ws && (ws.readyState === 0 || ws.readyState === 1)) {
this._requestAbort = true;
ws.close();
}

this._ws = null;
}
}, {
Expand Down
2 changes: 1 addition & 1 deletion lib/index.min.js

Large diffs are not rendered by default.

0 comments on commit ce5bcfc

Please sign in to comment.