From 150e7166f622f9541486d850fbe36e9c112d1bea Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Thu, 25 Sep 2014 18:13:35 -0700 Subject: [PATCH] mapnik ref: default to Mapnik 3.0.0 --- lib/carto/renderer.js | 2 +- lib/carto/tree/reference.js | 2 -- package.json | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/carto/renderer.js b/lib/carto/renderer.js index dc5df7d..31c5678 100644 --- a/lib/carto/renderer.js +++ b/lib/carto/renderer.js @@ -4,7 +4,7 @@ var carto = require('./index'); carto.Renderer = function Renderer(env, options) { this.env = env || {}; this.options = options || {}; - this.options.mapnik_version = this.options.mapnik_version || 'latest'; + this.options.mapnik_version = this.options.mapnik_version || '3.0.0'; }; /** diff --git a/lib/carto/tree/reference.js b/lib/carto/tree/reference.js index c8edbd2..de0945a 100644 --- a/lib/carto/tree/reference.js +++ b/lib/carto/tree/reference.js @@ -214,8 +214,6 @@ ref.validValue = function(env, selector, value) { } }; -ref.setVersion('latest'); - tree.Reference = ref; })(require('../tree')); diff --git a/package.json b/package.json index bbcb52e..6c058f1 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ }, "dependencies": { "underscore": "~1.6.0", - "mapnik-reference": "~6.0.0", + "mapnik-reference": "~6.0.1", "optimist": "~0.6.0" }, "devDependencies": {