aboutsummaryrefslogtreecommitdiffstats
path: root/src/Mask.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mask.js')
-rw-r--r--src/Mask.js12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/Mask.js b/src/Mask.js
index 40ebce7..fb599b9 100644
--- a/src/Mask.js
+++ b/src/Mask.js
@@ -1,9 +1,9 @@
import Container from './Container.js'
-import {nodeOrNew} from './tools.js'
+import { nodeOrNew } from './tools.js'
import find from './selector.js'
-//import {remove} from './Element.js'
-import {register} from './adopter.js'
-import {registerMethods} from './methods.js'
+// import {remove} from './Element.js'
+import { register } from './adopter.js'
+import { registerMethods } from './methods.js'
export default class Mask extends Container {
// Initialize node
@@ -20,16 +20,14 @@ export default class Mask extends Container {
// remove mask from parent
return super.remove()
- //return remove.call(this)
+ // return remove.call(this)
}
targets () {
return find('svg [mask*="' + this.id() + '"]')
}
-
}
-
registerMethods({
Container: {
mask () {