Skip to content

Instantly share code, notes, and snippets.

$ expresso test/datasource.test.js
Creating export dir /Users/dmitri/ds/tilemill/test/fixtures/files/export
Creating data dir /Users/dmitri/ds/tilemill/test/fixtures/files/data
Started [Server Core:8889].
Initialized test fixture
uncaught: AssertionError: test shapefile datasource with features. Invalid response status code.
Expected: 200
Got: 404
at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/expresso/bin/expresso:480:28)
diff --git a/assets/js/codemirror.carto.js b/assets/js/codemirror.carto.js
index d45c74e..98f32ed 100644
--- a/assets/js/codemirror.carto.js
+++ b/assets/js/codemirror.carto.js
@@ -111,6 +111,9 @@ CodeMirror.defineMode('carto', function(config, parserConfig) {
var context = state.stack[state.stack.length - 1];
if (type == 'hash' && context == 'rule') {
style = 'carto-colorcode';
+ if (parserConfig.onColor) {
+ parserConfig.onColor(stream.current());
diff --git a/assets/js/codemirror.carto.js b/assets/js/codemirror.carto.js
index d45c74e..98f32ed 100644
--- a/assets/js/codemirror.carto.js
+++ b/assets/js/codemirror.carto.js
@@ -111,6 +111,9 @@ CodeMirror.defineMode('carto', function(config, parserConfig) {
var context = state.stack[state.stack.length - 1];
if (type == 'hash' && context == 'rule') {
style = 'carto-colorcode';
+ if (parserConfig.onColor) {
+ parserConfig.onColor(stream.current());
diff --git a/templates/Projects._ b/templates/Projects._
index f49198b..c5da571 100644
--- a/templates/Projects._
+++ b/templates/Projects._
@@ -8,6 +8,7 @@
<span class='icon reverse labeled add'></span>
Add project
</a>
+ <a class='popup button' href='#exports'>View exports</a>
<a class='button' href='/#!/manual'>
diff --git a/assets/css/style.css b/assets/css/style.css
index 121fecb..44926fb 100644
--- a/assets/css/style.css
+++ b/assets/css/style.css
@@ -550,12 +550,15 @@ small { font-size:11px; }
.palette .colors {
height:20px;
- float:left;
+ position: absolute;
{
"name" : "mapnik",
"version" : "0.5.3",
"main" : "./mapnik.js",
"description" : "C++ map rendering library for node",
"keywords" : ["map", "graphics", "canvas", "tile"],
"url" : "http://github.com/mapnik/node-mapnik",
"repositories" : [
{
"type" : "git",
/bin/sh ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=\"sqlite\" -DPACKAGE_VERSION=\"3.7.7.1\" -DPACKAGE_STRING=\"sqlite\ 3.7.7.1\" -DPACKAGE_BUGREPORT=\"http://www.sqlite.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"sqlite\" -DVERSION=\"3.7.7.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_FDATASYNC=1 -DHAVE_USLEEP=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DHAVE_DECL_STRERROR_R=1 -DHAVE_STRERROR_R=1 -DHAVE_READLINE=1 -I.@am__isrc@ -D_REENTRANT=1 -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -g -O2 -MT sqlite3.lo -MD -MP -MF .deps/sqlite3.Tpo -c -o sqlite3.lo sqlite3.c
gcc -DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=\"sqlite\" -DPACKAGE_VERSION=\"3.7.7.1\" -DPACKAGE_STRING=\"sqlite\ 3.7.7.1\" -DPACKAGE_BUGREPORT=\"http://www.sqlite.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"sqlite\" -DVERSION=\"3.7.
{
"bounds": [
-180,
-85.05112877980659,
180,
85.05112877980659
],
"center": [
63.849985934794425,
30.83255833420096,
Hardware Overview:
Model Name: MacBook Pro
Model Identifier: MacBookPro2,2
Processor Name: Intel Core 2 Duo
Processor Speed: 2.16 GHz
Number Of Processors: 1
Total Number Of Cores: 2
L2 Cache: 4 MB
Memory: 3 GB
Map {
background-color: #b8dee6;
}
#countries {
::outline {
line-color: #85c5d3;
line-width: 2;
line-join: round;
}