Skip to content

Commit

Permalink
Merge branch 'release/2.0.3'
Browse files Browse the repository at this point in the history
* release/2.0.3:
  release 2.0.3
  upgrade deps
  fix uglifier bug
  • Loading branch information
pmb0 committed Nov 5, 2019
2 parents 9fbd998 + ac243fc commit 48a98fc
Show file tree
Hide file tree
Showing 4 changed files with 274 additions and 258 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# embetty

## v2.0.3, 2019-11-05

- Upgrading to Babel 7 introduced an uglifier bug. Fixed.

## v2.0.2, 2019-11-04

- Fixed broken embetty logo in embeds.
Expand Down
3 changes: 1 addition & 2 deletions lib/embed/video.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ export default class Video extends Observable(Embed) {

get Type() {
const className = this.typeClass
// eslint-disable-next-line
if (!Videos.hasOwnProperty(this.typeClass)) {
if (!Videos[this.typeClass]) {
console.error(`"${className}" does not exist.`)
return
}
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": "@heise/embetty",
"version": "2.0.2",
"version": "2.0.3",
"main": "index.js",
"license": "MIT",
"scripts": {
Expand Down
Loading

0 comments on commit 48a98fc

Please sign in to comment.