Skip to content

Commit

Permalink
build: 0.10.4
Browse files Browse the repository at this point in the history
  • Loading branch information
toxic-johann committed Jun 26, 2018
1 parent 7ea5ed8 commit b19c978
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 33 deletions.
2 changes: 1 addition & 1 deletion bundle-size/common.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ <h1>RollUp Visualizer</h1>
</div>
</div>
</div>
<script>window.nodesData = {"name":"root","children":[{"name":"kernels","children":[{"name":"native.js","children":[],"size":2224,"originalSize":1489}]},{"name":"dispatcher","children":[{"name":"kernel.js","children":[],"size":5141,"originalSize":4439},{"name":"video-wrapper.js","children":[],"size":21963,"originalSize":14224},{"name":"plugin.js","children":[],"size":11500,"originalSize":9887},{"name":"dom.js","children":[],"size":16628,"originalSize":12359},{"name":"bus.js","children":[],"size":17943,"originalSize":13895},{"name":"binder.js","children":[],"size":21524,"originalSize":13863},{"name":"index.js","children":[],"size":31152,"originalSize":25434}]},{"name":"helper","children":[{"name":"const.js","children":[],"size":1568,"originalSize":1913},{"name":"checker.js","children":[],"size":821,"originalSize":838}]},{"name":"config","children":[{"name":"video.js","children":[],"size":12110,"originalSize":9141},{"name":"container.js","children":[],"size":111,"originalSize":99},{"name":"vessel.js","children":[],"size":1002,"originalSize":1106},{"name":"global.js","children":[],"size":2874,"originalSize":1500}]},{"name":"index.js","children":[],"size":9377,"originalSize":4185}]};</script>
<script>window.nodesData = {"name":"root","children":[{"name":"kernels","children":[{"name":"native.js","children":[],"size":2224,"originalSize":1489}]},{"name":"dispatcher","children":[{"name":"kernel.js","children":[],"size":5141,"originalSize":4439},{"name":"video-wrapper.js","children":[],"size":21963,"originalSize":14224},{"name":"plugin.js","children":[],"size":11500,"originalSize":9887},{"name":"dom.js","children":[],"size":16628,"originalSize":12359},{"name":"bus.js","children":[],"size":17943,"originalSize":13895},{"name":"binder.js","children":[],"size":21524,"originalSize":13863},{"name":"index.js","children":[],"size":31033,"originalSize":25296}]},{"name":"helper","children":[{"name":"const.js","children":[],"size":1568,"originalSize":1913},{"name":"checker.js","children":[],"size":821,"originalSize":838}]},{"name":"config","children":[{"name":"video.js","children":[],"size":12110,"originalSize":9141},{"name":"container.js","children":[],"size":111,"originalSize":99},{"name":"vessel.js","children":[],"size":1002,"originalSize":1106},{"name":"global.js","children":[],"size":2874,"originalSize":1500}]},{"name":"index.js","children":[],"size":9377,"originalSize":4185}]};</script>
<script charset="UTF-8">
(function () {
'use strict';
Expand Down
2 changes: 1 addition & 1 deletion bundle-size/es.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ <h1>RollUp Visualizer</h1>
</div>
</div>
</div>
<script>window.nodesData = {"name":"root","children":[{"name":"kernels","children":[{"name":"native.js","children":[],"size":2185,"originalSize":1489}]},{"name":"dispatcher","children":[{"name":"kernel.js","children":[],"size":5011,"originalSize":4439},{"name":"video-wrapper.js","children":[],"size":21109,"originalSize":14224},{"name":"plugin.js","children":[],"size":10972,"originalSize":9887},{"name":"dom.js","children":[],"size":15966,"originalSize":12359},{"name":"bus.js","children":[],"size":17515,"originalSize":13895},{"name":"binder.js","children":[],"size":21127,"originalSize":13863},{"name":"index.js","children":[],"size":29869,"originalSize":25434}]},{"name":"helper","children":[{"name":"const.js","children":[],"size":1568,"originalSize":1913},{"name":"checker.js","children":[],"size":795,"originalSize":838}]},{"name":"config","children":[{"name":"video.js","children":[],"size":11442,"originalSize":9141},{"name":"container.js","children":[],"size":111,"originalSize":99},{"name":"vessel.js","children":[],"size":963,"originalSize":1106},{"name":"global.js","children":[],"size":2800,"originalSize":1500}]},{"name":"index.js","children":[],"size":9039,"originalSize":4185}]};</script>
<script>window.nodesData = {"name":"root","children":[{"name":"kernels","children":[{"name":"native.js","children":[],"size":2185,"originalSize":1489}]},{"name":"dispatcher","children":[{"name":"kernel.js","children":[],"size":5011,"originalSize":4439},{"name":"video-wrapper.js","children":[],"size":21109,"originalSize":14224},{"name":"plugin.js","children":[],"size":10972,"originalSize":9887},{"name":"dom.js","children":[],"size":15966,"originalSize":12359},{"name":"bus.js","children":[],"size":17515,"originalSize":13895},{"name":"binder.js","children":[],"size":21127,"originalSize":13863},{"name":"index.js","children":[],"size":29750,"originalSize":25296}]},{"name":"helper","children":[{"name":"const.js","children":[],"size":1568,"originalSize":1913},{"name":"checker.js","children":[],"size":795,"originalSize":838}]},{"name":"config","children":[{"name":"video.js","children":[],"size":11442,"originalSize":9141},{"name":"container.js","children":[],"size":111,"originalSize":99},{"name":"vessel.js","children":[],"size":963,"originalSize":1106},{"name":"global.js","children":[],"size":2800,"originalSize":1500}]},{"name":"index.js","children":[],"size":9039,"originalSize":4185}]};</script>
<script charset="UTF-8">
(function () {
'use strict';
Expand Down
2 changes: 1 addition & 1 deletion bundle-size/min.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bundle-size/umd.html

Large diffs are not rendered by default.

15 changes: 6 additions & 9 deletions lib/index.browser.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

/**
* chimee v0.10.3
* chimee v0.10.4
* (c) 2017-2018 toxic-johann
* Released under MIT
*/
Expand Down Expand Up @@ -7731,7 +7731,7 @@
var _this = _possibleConstructorReturn(this, (Plugin.__proto__ || _Object$getPrototypeOf(Plugin)).call(this));

_this.destroyed = false;
_this.VERSION = '0.10.3';
_this.VERSION = '0.10.4';
_this.__operable = true;
_this.__level = 0;

Expand Down Expand Up @@ -10427,16 +10427,13 @@
_option2$preset = _option2.preset,
preset = _option2$preset === undefined ? videoConfig.preset : _option2$preset,
_option2$kernels = _option2.kernels,
kernels = _option2$kernels === undefined ? videoConfig.kernels : _option2$kernels,
isFirst = _option2.isFirst;
kernels = _option2$kernels === undefined ? videoConfig.kernels : _option2$kernels;

delete option.isFirst;
if (box !== 'native' || box !== oldBox || !isEmpty(option)) {
option.isFirst = isFirst;
var video = document.createElement('video');
var config = { isLive: isLive, box: box, preset: preset, src: src, kernels: kernels };
var kernel = this._createKernel(video, config);
this.switchKernel({ video: video, kernel: kernel, config: config, notifyChange: isFirst });
this.switchKernel({ video: video, kernel: kernel, config: config, notifyChange: true });
}
var originAutoLoad = this.videoConfig.autoload;
this._changeUnwatchable(this.videoConfig, 'autoload', false);
Expand Down Expand Up @@ -10594,7 +10591,7 @@
name: 'load',
target: 'plugin',
id: 'dispatcher'
}, { src: this.videoConfig.src, isFirst: true });
}, { src: this.videoConfig.src });
}
}
}, {
Expand Down Expand Up @@ -11245,7 +11242,7 @@
}), _descriptor2$1 = _applyDecoratedDescriptor$8(_class2$2.prototype, 'version', [frozen], {
enumerable: true,
initializer: function initializer() {
return '0.10.3';
return '0.10.4';
}
}), _descriptor3$1 = _applyDecoratedDescriptor$8(_class2$2.prototype, 'config', [frozen], {
enumerable: true,
Expand Down
15 changes: 6 additions & 9 deletions lib/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

/**
* chimee v0.10.3
* chimee v0.10.4
* (c) 2017-2018 toxic-johann
* Released under MIT
*/
Expand Down Expand Up @@ -1293,7 +1293,7 @@ var Plugin = (_dec$2 = toxicDecorators.autobindClass(), _dec$2(_class$2 = functi
var _this = _possibleConstructorReturn(this, (Plugin.__proto__ || _Object$getPrototypeOf(Plugin)).call(this));

_this.destroyed = false;
_this.VERSION = '0.10.3';
_this.VERSION = '0.10.4';
_this.__operable = true;
_this.__level = 0;

Expand Down Expand Up @@ -3493,16 +3493,13 @@ var Dispatcher = (_dec$6 = toxicDecorators.before(convertNameIntoId), _dec2$5 =
_option2$preset = _option2.preset,
preset = _option2$preset === undefined ? videoConfig.preset : _option2$preset,
_option2$kernels = _option2.kernels,
kernels = _option2$kernels === undefined ? videoConfig.kernels : _option2$kernels,
isFirst = _option2.isFirst;
kernels = _option2$kernels === undefined ? videoConfig.kernels : _option2$kernels;

delete option.isFirst;
if (box !== 'native' || box !== oldBox || !chimeeHelper.isEmpty(option)) {
option.isFirst = isFirst;
var video = document.createElement('video');
var config = { isLive: isLive, box: box, preset: preset, src: src, kernels: kernels };
var kernel = this._createKernel(video, config);
this.switchKernel({ video: video, kernel: kernel, config: config, notifyChange: isFirst });
this.switchKernel({ video: video, kernel: kernel, config: config, notifyChange: true });
}
var originAutoLoad = this.videoConfig.autoload;
this._changeUnwatchable(this.videoConfig, 'autoload', false);
Expand Down Expand Up @@ -3660,7 +3657,7 @@ var Dispatcher = (_dec$6 = toxicDecorators.before(convertNameIntoId), _dec2$5 =
name: 'load',
target: 'plugin',
id: 'dispatcher'
}, { src: this.videoConfig.src, isFirst: true });
}, { src: this.videoConfig.src });
}
}
}, {
Expand Down Expand Up @@ -4102,7 +4099,7 @@ var Chimee = (_dec$7 = toxicDecorators.autobindClass(), _dec$7(_class$8 = (_clas
}), _descriptor2$1 = _applyDecoratedDescriptor$7(_class2$1.prototype, 'version', [toxicDecorators.frozen], {
enumerable: true,
initializer: function initializer() {
return '0.10.3';
return '0.10.4';
}
}), _descriptor3$1 = _applyDecoratedDescriptor$7(_class2$1.prototype, 'config', [toxicDecorators.frozen], {
enumerable: true,
Expand Down
2 changes: 1 addition & 1 deletion lib/index.min.js

Large diffs are not rendered by default.

15 changes: 6 additions & 9 deletions lib/index.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

/**
* chimee v0.10.3
* chimee v0.10.4
* (c) 2017-2018 toxic-johann
* Released under MIT
*/
Expand Down Expand Up @@ -1289,7 +1289,7 @@ var Plugin = (_dec$2 = autobindClass(), _dec$2(_class$2 = function (_VideoWrappe
var _this = _possibleConstructorReturn(this, (Plugin.__proto__ || _Object$getPrototypeOf(Plugin)).call(this));

_this.destroyed = false;
_this.VERSION = '0.10.3';
_this.VERSION = '0.10.4';
_this.__operable = true;
_this.__level = 0;

Expand Down Expand Up @@ -3489,16 +3489,13 @@ var Dispatcher = (_dec$6 = before(convertNameIntoId), _dec2$5 = before(checkPlug
_option2$preset = _option2.preset,
preset = _option2$preset === undefined ? videoConfig.preset : _option2$preset,
_option2$kernels = _option2.kernels,
kernels = _option2$kernels === undefined ? videoConfig.kernels : _option2$kernels,
isFirst = _option2.isFirst;
kernels = _option2$kernels === undefined ? videoConfig.kernels : _option2$kernels;

delete option.isFirst;
if (box !== 'native' || box !== oldBox || !isEmpty(option)) {
option.isFirst = isFirst;
var video = document.createElement('video');
var config = { isLive: isLive, box: box, preset: preset, src: src, kernels: kernels };
var kernel = this._createKernel(video, config);
this.switchKernel({ video: video, kernel: kernel, config: config, notifyChange: isFirst });
this.switchKernel({ video: video, kernel: kernel, config: config, notifyChange: true });
}
var originAutoLoad = this.videoConfig.autoload;
this._changeUnwatchable(this.videoConfig, 'autoload', false);
Expand Down Expand Up @@ -3656,7 +3653,7 @@ var Dispatcher = (_dec$6 = before(convertNameIntoId), _dec2$5 = before(checkPlug
name: 'load',
target: 'plugin',
id: 'dispatcher'
}, { src: this.videoConfig.src, isFirst: true });
}, { src: this.videoConfig.src });
}
}
}, {
Expand Down Expand Up @@ -4098,7 +4095,7 @@ var Chimee = (_dec$7 = autobindClass(), _dec$7(_class$8 = (_class2$1 = (_temp =
}), _descriptor2$1 = _applyDecoratedDescriptor$7(_class2$1.prototype, 'version', [frozen], {
enumerable: true,
initializer: function initializer() {
return '0.10.3';
return '0.10.4';
}
}), _descriptor3$1 = _applyDecoratedDescriptor$7(_class2$1.prototype, 'config', [frozen], {
enumerable: true,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chimee",
"version": "0.10.3",
"version": "0.10.4",
"description": "a video-player aims to bring wonderful experience on browser",
"main": "lib/index.js",
"module": "lib/index.mjs",
Expand Down

0 comments on commit b19c978

Please sign in to comment.