Compare commits
14 Commits
Author | SHA1 | Date |
---|---|---|
Sandro Santilli | 9f45675496 | 11 years ago |
Sandro Santilli | fa994557e8 | 11 years ago |
Tom MacWright | 761b05b599 | 11 years ago |
Sandro Santilli | 6745bdf634 | 11 years ago |
Sandro Santilli | 8d4d1c8a50 | 11 years ago |
Sandro Santilli | c89ed510ff | 11 years ago |
Sandro Santilli | a6439e3f92 | 11 years ago |
javi | 9e8eebcd5a | 11 years ago |
Sandro Santilli | 8b0940b2c3 | 12 years ago |
Sandro Santilli | ebf08584d3 | 12 years ago |
Sandro Santilli | e9c1e3925d | 12 years ago |
Sandro Santilli | 9043e70cf3 | 12 years ago |
Sandro Santilli | 7b6a4b7820 | 12 years ago |
Sandro Santilli | 66216f7c7d | 12 years ago |
@ -0,0 +1,11 @@
|
||||
Since we can't put comments in the package.json file
|
||||
this file fills that gap.
|
||||
|
||||
Dependencies needing comments:
|
||||
|
||||
"mapnik-reference"
|
||||
|
||||
We use our own fork because we need advertisement of "marker-multi-policy"
|
||||
which is only in the reference of mapnik-2.1.1. Can be reverted to upstream
|
||||
once this pull request is released:
|
||||
https://github.com/mapnik/mapnik-reference/pull/41
|
@ -0,0 +1,4 @@
|
||||
#t {
|
||||
text-name: invalid;
|
||||
text-face-name: "Dejagnu";
|
||||
}
|
@ -0,0 +1 @@
|
||||
issue297.mss:2:2 Invalid value for text-name, the type expression is expected. invalid (of type keyword) was given.
|
@ -0,0 +1,23 @@
|
||||
var assert = require('assert');
|
||||
var tree = require('../lib/carto/tree.js');
|
||||
require('../lib/carto/tree/quoted');
|
||||
|
||||
describe('Quoted', function() {
|
||||
describe('basic functionality', function() {
|
||||
it('should be constructed', function() {
|
||||
var f = new tree.Quoted("Tom's & \"<quoted>\"");
|
||||
assert.ok(f);
|
||||
assert.equal(f.is, 'string');
|
||||
});
|
||||
it('should produce normal output', function() {
|
||||
var f = new tree.Quoted("Tom's & \"<quoted>\"");
|
||||
assert.ok(f);
|
||||
assert.equal(f.toString(), "Tom's & \"<quoted>\"");
|
||||
});
|
||||
it('should produce xml-friendly output', function() {
|
||||
var f = new tree.Quoted("Tom's & \"<quoted>\"");
|
||||
assert.ok(f);
|
||||
assert.equal(f.toString(true), "'Tom\\'s & "<quoted>"'");
|
||||
});
|
||||
});
|
||||
});
|
Loading…
Reference in new issue