Compare commits

...

1 Commits

Author SHA1 Message Date
javi
c14756e1a0 reverts changes for loading mapnik-reference when is actually needed 2014-12-05 08:27:50 +01:00

View File

@ -5,6 +5,7 @@
(function(tree) { (function(tree) {
var _ = require('underscore'), var _ = require('underscore'),
mapnik_reference = require('mapnik-reference'),
ref = {}; ref = {};
ref.setData = function(data) { ref.setData = function(data) {
@ -23,7 +24,6 @@ ref.setData = function(data) {
}; };
ref.setVersion = function(version) { ref.setVersion = function(version) {
var mapnik_reference = require('mapnik-reference');
if (mapnik_reference.version.hasOwnProperty(version)) { if (mapnik_reference.version.hasOwnProperty(version)) {
ref.setData(mapnik_reference.version[version]); ref.setData(mapnik_reference.version[version]);
return true; return true;