Skip to content

Commit

Permalink
bump to 0.2.77
Browse files Browse the repository at this point in the history
  • Loading branch information
towerz committed Nov 1, 2017
1 parent 55da01d commit b51557d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
3 changes: 2 additions & 1 deletion bower.json
@@ -1,7 +1,7 @@
{
"name": "clappr",
"description": "An extensible media player for the web",
"version": "0.2.76",
"version": "0.2.77",
"homepage": "https://github.com/clappr/clappr",
"authors": [
"Globo.com"
Expand All @@ -12,6 +12,7 @@
},
"license": "BSD-3-Clause",
"files": [
"dist",
"LICENSE",
"README.md"
],
Expand Down
9 changes: 7 additions & 2 deletions dist/clappr.js
Expand Up @@ -6268,7 +6268,7 @@ var _clapprZepto2 = _interopRequireDefault(_clapprZepto);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var version = "0.2.76"; // Copyright 2014 Globo.com Player authors. All rights reserved.
var version = "0.2.77"; // Copyright 2014 Globo.com Player authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

Expand Down Expand Up @@ -8755,7 +8755,7 @@ var Core = function (_UIObject) {
this.renderContainers();
this.setupMediaControl(this.getCurrentContainer());
this.render();
this.$el.appendTo(this.options.parentElement);
this.appendToParent();
return this.containers;
};

Expand Down Expand Up @@ -8864,6 +8864,11 @@ var Core = function (_UIObject) {
}
};

Core.prototype.appendToParent = function appendToParent() {
var hasCoreParent = this.$el.parent() && this.$el.parent().length;
!hasCoreParent && this.$el.appendTo(this.options.parentElement);
};

Core.prototype.render = function render() {
this.$style && this.$style.remove();
this.$style = _styler2.default.getStyleFor(_style2.default, { baseUrl: this.options.baseUrl });
Expand Down
2 changes: 1 addition & 1 deletion dist/clappr.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "clappr",
"version": "0.2.76",
"version": "0.2.77",
"description": "An extensible media player for the web",
"main": "./dist/clappr.js",
"scripts": {
Expand Down

0 comments on commit b51557d

Please sign in to comment.