From 91f11851435d731dc7e5524b32d0064d21fa90d9 Mon Sep 17 00:00:00 2001 From: Deividas Bakanas Date: Thu, 3 Dec 2015 19:39:56 +0200 Subject: [PATCH] Fixed tests. --- google-maps/google-maps-tests.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/google-maps/google-maps-tests.ts b/google-maps/google-maps-tests.ts index 16f917b40..50f848936 100644 --- a/google-maps/google-maps-tests.ts +++ b/google-maps/google-maps-tests.ts @@ -3,7 +3,7 @@ import GoogleMapsLoader = require('google-maps'); GoogleMapsLoader.load(function(google) { - new google.maps.Map(el, options); + var loadedMap = google.maps.Map; }); GoogleMapsLoader.KEY = 'qwertyuiopasdfghjklzxcvbnm'; @@ -11,7 +11,7 @@ GoogleMapsLoader.KEY = 'qwertyuiopasdfghjklzxcvbnm'; GoogleMapsLoader.CLIENT = 'yourclientkey'; GoogleMapsLoader.VERSION = '3.14'; -GoogleMapsLoader.SENSOR = true +GoogleMapsLoader.SENSOR = true; GoogleMapsLoader.LIBRARIES = ['geometry', 'places']; @@ -22,5 +22,6 @@ GoogleMapsLoader.release(function() { }); GoogleMapsLoader.onLoad(function(google) { + var loadedMap = google.maps.Map; console.log('I just loaded google maps api'); });