From 8c15c5a1d731fc6685d7c486d43e01bb2cef1c30 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 25 Jul 2016 22:05:28 -0400 Subject: [PATCH] typo fix windows -> window --- src/s2geometry.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/s2geometry.js b/src/s2geometry.js index 266c0b1..b5b6015 100644 --- a/src/s2geometry.js +++ b/src/s2geometry.js @@ -312,7 +312,7 @@ S2.S2Cell.prototype.getNeighbors = function() { // Adapted from Leafletjs https://searchcode.com/codesearch/view/42525008/ var L = { LatLng: {} }; - windows.L = L; + window.L = L; L.LatLng.DEG_TO_RAD = Math.PI / 180; L.LatLng.RAD_TO_DEG = 180 / Math.PI;