Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
Tom MacWright | c0526392dc | 13 years ago |
Tom MacWright | 8b5ea80e5d | 13 years ago |
@ -0,0 +1,13 @@
|
||||
(function(tree) {
|
||||
|
||||
tree.Field = function Keyword(value) {
|
||||
this.value = value;
|
||||
this.is = 'field';
|
||||
};
|
||||
|
||||
tree.Field.prototype = {
|
||||
eval: function() { return this },
|
||||
toString: function() { return '[' + this.value + ']' }
|
||||
};
|
||||
|
||||
})(require('../tree'));
|
@ -1,5 +1,29 @@
|
||||
#world[POP2005 > 100.1] {
|
||||
#world[[POP2005] > 100.1] {
|
||||
polygon-fill: #FFF;
|
||||
line-color:#F00;
|
||||
line-width: 0.5;
|
||||
}
|
||||
|
||||
#world[5 > 100.1] {
|
||||
polygon-fill: #FFF;
|
||||
}
|
||||
|
||||
#world[[POP2005] > [POP2004]] {
|
||||
polygon-fill: #FFF;
|
||||
line-color:#F00;
|
||||
line-width: 0.5;
|
||||
}
|
||||
|
||||
#world[[POP2005] = "hello"] {
|
||||
polygon-fill: #FFF;
|
||||
line-color:#F00;
|
||||
line-width: 0.5;
|
||||
}
|
||||
|
||||
/*
|
||||
#world[POP2004 = "test"] {
|
||||
polygon-fill: #FFF;
|
||||
line-color:#F00;
|
||||
line-width: 0.5;
|
||||
}
|
||||
*/
|
||||
|
Loading…
Reference in new issue