From 375d174c3acd725549d4864050bef4163645330b Mon Sep 17 00:00:00 2001 From: Dan Bagnell Date: Thu, 20 Oct 2016 09:24:02 -0400 Subject: [PATCH 1/2] Update kdbush to be a require module. --- Source/ThirdParty/kdbush.js | 34 +++++++--------------------------- 1 file changed, 7 insertions(+), 27 deletions(-) diff --git a/Source/ThirdParty/kdbush.js b/Source/ThirdParty/kdbush.js index bdcf198311a7..6508d0349ff1 100644 --- a/Source/ThirdParty/kdbush.js +++ b/Source/ThirdParty/kdbush.js @@ -1,12 +1,7 @@ -(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.kdbush = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o Date: Tue, 25 Oct 2016 13:50:05 -0400 Subject: [PATCH 2/2] Update CHANGES.md. --- CHANGES.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES.md b/CHANGES.md index b85cd9b0a27f..1fedefc77fe7 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -32,6 +32,7 @@ Change Log * `HeadingPitchRoll.clone` function to duplicate HeadingPitchRoll instance. * `HeadingPitchRoll.equals` and `HeadingPitchRoll.equalsEpsilon` functions for comparing two instances. * Added `Matrix3.fromHeadingPitchRoll` Computes a 3x3 rotation matrix from the provided headingPitchRoll. +* Fix warning when using Webpack. [#4467](https://github.com/AnalyticalGraphicsInc/cesium/pull/4467) ### 1.26 - 2016-10-03