Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
janschoenherr committed Oct 11, 2018
1 parent ab3177f commit 65faa2b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/js/core/img.js
Expand Up @@ -72,9 +72,9 @@ export default {

update: {

read({delay, image}) {
read({update, image}) {

if (!delay) {
if (!update) {
return;
}

Expand Down Expand Up @@ -102,9 +102,9 @@ export default {
write(data) {

// Give placeholder images time to apply their dimensions
if (!data.delay) {
if (!data.update) {
this.$emit();
return data.delay = true;
return data.update = true;
}

},
Expand Down
2 changes: 2 additions & 0 deletions src/js/core/svg.js
Expand Up @@ -4,6 +4,8 @@ const svgs = {};

export default {

args: 'src',

props: {
id: String,
icon: String,
Expand Down

0 comments on commit 65faa2b

Please sign in to comment.