Skip to content

Commit

Permalink
[build] 0.8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
toxic-johann committed Jan 10, 2018
1 parent f46dcb4 commit e085079
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 18 deletions.
2 changes: 1 addition & 1 deletion bundle-size/common.html

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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.

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

/**
* chimee v0.8.3
* chimee v0.8.4
* (c) 2017-2018 toxic-johann
* Released under MIT
*/
Expand Down Expand Up @@ -7559,6 +7559,8 @@ function accessorVideoAttribute(attribute) {
this.dom.setAttr('video', _set, val);
return value;
}
}, {
preSet: false
});
}

Expand Down Expand Up @@ -7628,7 +7630,14 @@ var accessorMap = {
loop: [boolean$1(), accessorVideoProperty('loop')],
defaultMuted: [boolean$1(), accessorVideoAttribute({ get: 'defaultMuted', set: 'muted', isBoolean: true })],
muted: [boolean$1(), accessorVideoProperty('muted')],
preload: [accessor({ set: stringOrVoid }), accessorVideoAttribute('preload')],
preload: [accessor({
set: function set(value) {
var options = ['none', 'auto', 'metadata', ''];
return options.indexOf(value) > -1 ? value : 'none';
}
}, {
preSet: true
}), accessorVideoAttribute('preload')],
poster: [
// 因为如果在 video 上随便加一个字符串,他会将其拼接到地址上,所以这里要避免
// 单元测试无法检测
Expand Down Expand Up @@ -8376,7 +8385,7 @@ var Plugin = (_dec$3 = autobindClass(), _dec$3(_class$3 = function (_VideoWrappe
var _this = _possibleConstructorReturn(this, (Plugin.__proto__ || _Object$getPrototypeOf(Plugin)).call(this));

_this.destroyed = false;
_this.VERSION = '0.8.3';
_this.VERSION = '0.8.4';
_this.__operable = true;
_this.__level = 0;

Expand Down Expand Up @@ -10461,7 +10470,7 @@ var Chimee = (_dec = autobindClass(), _dec(_class = (_class2 = (_temp = _class3
}), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, 'version', [frozen], {
enumerable: true,
initializer: function initializer() {
return '0.8.3';
return '0.8.4';
}
}), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, 'config', [frozen], {
enumerable: true,
Expand Down
17 changes: 13 additions & 4 deletions lib/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

/**
* chimee v0.8.3
* chimee v0.8.4
* (c) 2017-2018 toxic-johann
* Released under MIT
*/
Expand Down Expand Up @@ -913,6 +913,8 @@ function accessorVideoAttribute(attribute) {
this.dom.setAttr('video', _set, val);
return value;
}
}, {
preSet: false
});
}

Expand Down Expand Up @@ -982,7 +984,14 @@ var accessorMap = {
loop: [toxicDecorators.alwaysBoolean(), accessorVideoProperty('loop')],
defaultMuted: [toxicDecorators.alwaysBoolean(), accessorVideoAttribute({ get: 'defaultMuted', set: 'muted', isBoolean: true })],
muted: [toxicDecorators.alwaysBoolean(), accessorVideoProperty('muted')],
preload: [toxicDecorators.accessor({ set: stringOrVoid }), accessorVideoAttribute('preload')],
preload: [toxicDecorators.accessor({
set: function set(value) {
var options = ['none', 'auto', 'metadata', ''];
return options.indexOf(value) > -1 ? value : 'none';
}
}, {
preSet: true
}), accessorVideoAttribute('preload')],
poster: [
// 因为如果在 video 上随便加一个字符串,他会将其拼接到地址上,所以这里要避免
// 单元测试无法检测
Expand Down Expand Up @@ -1730,7 +1739,7 @@ var Plugin = (_dec$3 = toxicDecorators.autobindClass(), _dec$3(_class$3 = functi
var _this = _possibleConstructorReturn(this, (Plugin.__proto__ || _Object$getPrototypeOf(Plugin)).call(this));

_this.destroyed = false;
_this.VERSION = '0.8.3';
_this.VERSION = '0.8.4';
_this.__operable = true;
_this.__level = 0;

Expand Down Expand Up @@ -3531,7 +3540,7 @@ var Chimee = (_dec = toxicDecorators.autobindClass(), _dec(_class = (_class2 = (
}), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, 'version', [toxicDecorators.frozen], {
enumerable: true,
initializer: function initializer() {
return '0.8.3';
return '0.8.4';
}
}), _descriptor3 = _applyDecoratedDescriptor(_class2.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.

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

/**
* chimee v0.8.3
* chimee v0.8.4
* (c) 2017-2018 toxic-johann
* Released under MIT
*/
Expand Down Expand Up @@ -909,6 +909,8 @@ function accessorVideoAttribute(attribute) {
this.dom.setAttr('video', _set, val);
return value;
}
}, {
preSet: false
});
}

Expand Down Expand Up @@ -978,7 +980,14 @@ var accessorMap = {
loop: [alwaysBoolean(), accessorVideoProperty('loop')],
defaultMuted: [alwaysBoolean(), accessorVideoAttribute({ get: 'defaultMuted', set: 'muted', isBoolean: true })],
muted: [alwaysBoolean(), accessorVideoProperty('muted')],
preload: [accessor({ set: stringOrVoid }), accessorVideoAttribute('preload')],
preload: [accessor({
set: function set(value) {
var options = ['none', 'auto', 'metadata', ''];
return options.indexOf(value) > -1 ? value : 'none';
}
}, {
preSet: true
}), accessorVideoAttribute('preload')],
poster: [
// 因为如果在 video 上随便加一个字符串,他会将其拼接到地址上,所以这里要避免
// 单元测试无法检测
Expand Down Expand Up @@ -1726,7 +1735,7 @@ var Plugin = (_dec$3 = autobindClass(), _dec$3(_class$3 = function (_VideoWrappe
var _this = _possibleConstructorReturn(this, (Plugin.__proto__ || _Object$getPrototypeOf(Plugin)).call(this));

_this.destroyed = false;
_this.VERSION = '0.8.3';
_this.VERSION = '0.8.4';
_this.__operable = true;
_this.__level = 0;

Expand Down Expand Up @@ -3527,7 +3536,7 @@ var Chimee = (_dec = autobindClass(), _dec(_class = (_class2 = (_temp = _class3
}), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, 'version', [frozen], {
enumerable: true,
initializer: function initializer() {
return '0.8.3';
return '0.8.4';
}
}), _descriptor3 = _applyDecoratedDescriptor(_class2.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.8.3",
"version": "0.8.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 e085079

Please sign in to comment.