aboutsummaryrefslogtreecommitdiffstats
path: root/src/elements/Marker.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements/Marker.js')
-rw-r--r--src/elements/Marker.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/elements/Marker.js b/src/elements/Marker.js
index d40d13b..238f559 100644
--- a/src/elements/Marker.js
+++ b/src/elements/Marker.js
@@ -29,7 +29,9 @@ export default class Marker extends Container {
this.clear()
// invoke passed block
- if (typeof block === 'function') { block.call(this, this) }
+ if (typeof block === 'function') {
+ block.call(this, this)
+ }
return this
}
@@ -62,7 +64,7 @@ registerMethods({
marker: {
// Create and attach markers
marker (marker, width, height, block) {
- var attr = ['marker']
+ var attr = [ 'marker' ]
// Build attribute name
if (marker !== 'all') attr.push(marker)