Skip to content

Commit

Permalink
Remove unused model.channels()
Browse files Browse the repository at this point in the history
  • Loading branch information
kanitw committed Jun 9, 2017
1 parent fba528d commit 46fbafe
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions src/compile/facet.ts
Expand Up @@ -307,10 +307,6 @@ export class FacetModel extends ModelWithField {
return marks;
}

public channels() {
return [ROW, COLUMN];
}

protected getMapping() {
return this.facet;
}
Expand Down
1 change: 0 additions & 1 deletion src/compile/model.ts
Expand Up @@ -394,7 +394,6 @@ export abstract class ModelWithField extends Model {
public abstract hasDiscreteDomain(channel: Channel): boolean;


public abstract channels(): Channel[];

protected abstract getMapping(): {[key: string]: any};

Expand Down
4 changes: 0 additions & 4 deletions src/compile/unit.ts
Expand Up @@ -338,10 +338,6 @@ export class UnitModel extends ModelWithField {
};
}

public channels() {
return UNIT_CHANNELS;
}

protected getMapping() {
return this.encoding;
}
Expand Down

0 comments on commit 46fbafe

Please sign in to comment.