Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
reverts changes for loading mapnik-reference when is actually needed
Browse files Browse the repository at this point in the history
  • Loading branch information
javisantana committed Dec 5, 2014
1 parent 146976c commit c14756e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/carto/tree/reference.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
(function(tree) {

var _ = require('underscore'),
mapnik_reference = require('mapnik-reference'),
ref = {};

ref.setData = function(data) {
Expand All @@ -23,7 +24,6 @@ ref.setData = function(data) {
};

ref.setVersion = function(version) {
var mapnik_reference = require('mapnik-reference');
if (mapnik_reference.version.hasOwnProperty(version)) {
ref.setData(mapnik_reference.version[version]);
return true;
Expand Down

0 comments on commit c14756e

Please sign in to comment.