Skip to content

Commit

Permalink
fix: warnings on lgtm.com
Browse files Browse the repository at this point in the history
  • Loading branch information
bubkoo committed Jan 14, 2020
1 parent f2ec01e commit 5c67668
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/x6/src/v/v.ts
Expand Up @@ -2,8 +2,6 @@ import * as Static from './rollup'
import { Attributes } from './attr'
import { Vectorizer } from './vectorizer'

export namespace v {}

export function v( // tslint:disable-line
elem: Vectorizer | SVGElement | string,
attrs?: Attributes,
Expand All @@ -16,8 +14,6 @@ export function v( // tslint:disable-line
return new Vectorizer(elem, attrs, children)
}

v.prototype = Vectorizer.prototype

// attr
// ----
export namespace v {
Expand Down Expand Up @@ -230,3 +226,5 @@ export namespace v {
*/
export const animateAlongPath = Static.animateAlongPath
}

v.prototype = Vectorizer.prototype

0 comments on commit 5c67668

Please sign in to comment.