Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
Remove directives. Fixes #157
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcw committed Sep 21, 2012
1 parent 101026f commit 4a9b5b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 41 deletions.
4 changes: 2 additions & 2 deletions lib/carto/index.js
Expand Up @@ -38,7 +38,7 @@ var carto = {
error = options.indent + error.join('\n' + options.indent) + '\033[0m\n';

message = options.indent + message + stylize(ctx.message, 'red');
ctx.filename && (message += stylize(' in ', 'red') + ctx.filename);
if (ctx.filename) (message += stylize(' in ', 'red') + ctx.filename);

util.error(message, error);

Expand All @@ -51,7 +51,7 @@ var carto = {
};

[ 'call', 'color', 'comment', 'definition', 'dimension',
'directive', 'element', 'expression', 'filterset', 'filter', 'field',
'element', 'expression', 'filterset', 'filter', 'field',
'keyword', 'layer', 'literal', 'operation', 'quoted', 'imagefilter',
'reference', 'rule', 'ruleset', 'selector', 'style', 'url', 'value',
'variable', 'zoom', 'invalid', 'fontset'
Expand Down
39 changes: 0 additions & 39 deletions lib/carto/tree/directive.js

This file was deleted.

0 comments on commit 4a9b5b5

Please sign in to comment.