From 6c45a805d2b519e5c2fe3411c97ac75079693bba Mon Sep 17 00:00:00 2001 From: Raul Ochoa Date: Tue, 9 Dec 2014 18:09:45 +0100 Subject: [PATCH] Fixes requires --- lib/torque/gmaps/torque.js | 1 + lib/torque/leaflet/canvas_layer.js | 2 ++ lib/torque/leaflet/torque.js | 4 ++++ 3 files changed, 7 insertions(+) diff --git a/lib/torque/gmaps/torque.js b/lib/torque/gmaps/torque.js index d0689a5..f377600 100644 --- a/lib/torque/gmaps/torque.js +++ b/lib/torque/gmaps/torque.js @@ -1,4 +1,5 @@ var carto = global.carto || require('carto'); +var torque = require('../'); var CanvasLayer = require('./CanvasLayer'); var CanvasTileLayer = require('./canvas_tile_layer'); var GMapsTileLoader = require('./gmaps_tileloader_mixin'); diff --git a/lib/torque/leaflet/canvas_layer.js b/lib/torque/leaflet/canvas_layer.js index 1f628c2..ab991e1 100644 --- a/lib/torque/leaflet/canvas_layer.js +++ b/lib/torque/leaflet/canvas_layer.js @@ -1,3 +1,5 @@ +require('./leaflet_tileloader_mixin'); + /** * full canvas layer implementation for Leaflet */ diff --git a/lib/torque/leaflet/torque.js b/lib/torque/leaflet/torque.js index af1bcdb..f702a79 100644 --- a/lib/torque/leaflet/torque.js +++ b/lib/torque/leaflet/torque.js @@ -1,4 +1,8 @@ var carto = global.carto || require('carto'); +var torque = require('../'); + +require('./canvas_layer'); + /** * torque layer */