Skip to content

Commit

Permalink
chore: add visual dir
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcc committed Apr 26, 2021
1 parent 4cd6ab3 commit af1ea4c
Show file tree
Hide file tree
Showing 19 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Color } from '../../../../src/geometry/attribute';
import { Color } from '../../../../src/visual/attribute';

describe('attribute color', () => {
it('value', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Attribute, Color, Position, Shape, Size } from '../../../../src/geometry/attribute';
import { Attribute, Color, Position, Shape, Size } from '../../../../src/visual/attribute';

// TODO 单测 100%
describe('attribute', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Position } from '../../../../src/geometry/attribute';
import { Position } from '../../../../src/visual/attribute';

describe('attribute position', () => {
it('value', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Shape } from '../../../../src/geometry/attribute';
import { Shape } from '../../../../src/visual/attribute';

describe('attribute shape', () => {
it('value', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Size } from '../../../../src/geometry/attribute';
import { Size } from '../../../../src/visual/attribute';

describe('attribute color', () => {
it('value', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/util/attribute.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Color, Indentity, Position, Shape, Size } from '../geometry/attribute';
import { Color, Indentity, Position, Shape, Size } from '../visual/attribute';

/**
* 创建一个 attribute 类型的实例
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { isArray, isNil, isString } from '@antv/util';
import { isNil } from '@antv/util';

export type CallbackFunc = (...args: any[]) => any[];

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions src/visual/scale/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* 将 @antv/scale 进行针对于 G2 的二次包装,让使用更加容易方便!
*/
class Scale {}
4 changes: 0 additions & 4 deletions typings.d.ts

This file was deleted.

0 comments on commit af1ea4c

Please sign in to comment.