Commit Graph
100 Commits
Author SHA1 Message Date
Tim Schaub 249f3b2e47 Tests for ol.color.asString() 2016-03-08 10:05:54 -07:00
Tim Schaub 40397aa39e Tests for ol.color.asArray() 2016-03-08 10:05:54 -07:00
Tim Schaub 47a18d41f0 Remove unused ol.color.equals() 2016-03-08 10:05:53 -07:00
Tim Schaub 9ea9b29a69 Remove unused ol.color.transform() 2016-03-08 10:05:53 -07:00
Tim Schaub 8b1ad633be Remove unused ol.color.stringOrColorEquals() 2016-03-08 10:05:53 -07:00
Tim Schaub 7cf433eb68 Remove unused ol.color.blend() 2016-03-08 10:05:53 -07:00
Tim Schaub 787e5d4dbf Assert that map renderer is a disposable 2016-03-03 09:18:04 -07:00
Tim Schaub 167ee487d6 Assert that render box is a disposable 2016-03-03 09:05:08 -07:00
Tim Schaub beb80ce987 Assert that event target is a disposable 2016-03-03 09:05:08 -07:00
Tim Schaub 0ab9dd8bd0 Tests for ol.Disposable 2016-03-03 09:05:02 -07:00
Tim Schaub e1f0e8d75b No need for ol.webgl.Context to be an event target 2016-03-03 07:28:34 -07:00
Tim Schaub 2f9d4e68eb Unregister all listeners on the WebGL context's canvas 2016-03-03 07:26:45 -07:00
Tim Schaub afb64ed2bf Make ol.webgl.Context an ol.events.EventTarget 2016-03-02 16:32:25 -07:00
Tim Schaub 71faef3dfd One fewer anonymous function 2016-03-02 15:44:07 -07:00
Tim Schaub 09eee46822 Use ol.Disposable instead of goog.Disposable 2016-03-02 15:44:07 -07:00
Tim Schaub ae4d8195c0 Remove use of goog.dispose() 2016-03-02 15:44:06 -07:00
Tim Schaub df4f154a93 Unused goog.dispose requires 2016-03-02 15:44:06 -07:00
Tim Schaub 1877910b7e Handle more XHR errors in the TileJSON source 2016-03-02 14:42:28 -07:00
Tim Schaub 9c594bc997 Use where function in MVT tests 2016-03-02 13:22:33 -07:00
Tim Schaub 1925e39b69 Allow tests to be ignored by feature 2016-03-02 13:20:37 -07:00
Tim Schaub efdc892219 Run ol.source.Raster tests in Phantom 2016-03-01 13:50:31 -07:00
Tim Schaub 5aa175241a No need to check for ImageData constructor in the tests 2016-03-01 13:43:55 -07:00
Tim Schaub bc01fdb59a Return ImageData-like objects for IE support 2016-03-01 13:34:50 -07:00
Tim Schaub 66f23c1aed Upgrade to pixelworks@1.1.0 2016-03-01 13:34:50 -07:00
Tim Schaub 02904cda8e Guard against handlers handling events after done 2016-02-23 13:13:15 -07:00
Tim Schaub 24b7b27836 Listen once when calling done 2016-02-23 13:10:47 -07:00
Tim Schaub 9da8cd890e Simpler alias 2016-02-23 13:06:38 -07:00
Tim Schaub eaab8e47ce More cleanup 2016-02-23 12:57:39 -07:00
Tim Schaub b440872e60 Less crazy indentation 2016-02-23 12:50:33 -07:00
Tim Schaub 247eb62e3b Avoid shadowing 2016-02-23 12:48:27 -07:00
Tim Schaub 03761642ed Correct indentation 2016-02-15 16:39:56 -07:00
Tim Schaub 160294e05d Upgrade linter and config 2016-02-13 14:07:50 -07:00
Tim Schaub 72ea0ecfd8 Remove remaining goog.object use from tests 2016-02-04 06:54:45 -07:00
Tim Schaub d67f33bcd6 Remove use of goog.object.unsafeClone() 2016-02-04 06:54:44 -07:00
Tim Schaub e2fe897811 Replace goog.object.getValues() with ol.object.getValues() 2016-02-04 06:54:44 -07:00
Tim Schaub 417dbf36c8 Remove use of goog.object.setIfUndefined() 2016-02-04 06:54:44 -07:00
Tim Schaub fd394151fd Replace goog.object.clear() with ol.object.clear() 2016-02-04 06:54:44 -07:00
Tim Schaub f38d8bf824 Remove use of goog.object.get() 2016-02-04 06:54:44 -07:00
Tim Schaub 8b9c393820 Remove use of goog.object.some() 2016-02-04 06:54:44 -07:00
Tim Schaub 8aecb3270c Replace goog.object.isEmpty() with ol.object.isEmpty() 2016-02-04 06:54:44 -07:00
Tim Schaub 0dce343d4f Remove use of goog.object.getCount() 2016-02-04 06:54:44 -07:00
Tim Schaub 1a9367228d Remove use of goog.object.contains() and findKey() 2016-02-04 06:54:44 -07:00
Tim Schaub 554887ae14 Remove use of goog.object.forEach() 2016-02-04 06:54:44 -07:00
Tim Schaub 3c0ef430db Use ol.object.assign() instead of goog.object.extend() 2016-02-04 06:54:43 -07:00
Tim Schaub a74af66d5f Use ol.object.assign() instead of goog.object.clone() 2016-02-04 06:54:43 -07:00
Tim Schaub 619e070d80 Use ol.object.assign() in object.getPoperties() 2016-02-04 06:54:43 -07:00
Tim Schaub 3a4b504a5d Add polyfill for Object.assign() 2016-02-04 06:54:43 -07:00
Tim Schaub f3b97d6bef Use string instead of string|ol.events.EventType 2016-02-03 11:19:38 +01:00
Tim Schaub f10c90bdba Simpler type for ol.events.Key
Instead of having `ol.events.Key` be a listener object or an array of listener objects, it should be less error prone to have it just be a single listener object.

To avoid using too many functions with multiple return types, the `ol.events.*` functions for registering and unregistering listeners no longer accept an array of event types (and only a single key is returned when registering).

To make it convenient for users to register multiple listeners at once, the `observable.on()` method accepts an array of event types.  Internally in the library, we should use the less risky `ol.events.listen()`.
2016-02-03 11:19:38 +01:00
Tim Schaub e48ab95735 Use originalEvent instead of browserEvent 2016-02-03 11:19:38 +01:00
Tim Schaub c62e76ab67 Remove support for useCapture 2016-02-03 11:19:38 +01:00
Tim Schaub 80df1f5ae8 Move opt_useCapture arg to the end of the list 2016-02-03 11:19:38 +01:00
Tim Schaub 9cda669b3b Upgrade to mocha@2.4.5 2016-01-28 17:46:50 -07:00
Tim Schaub 6f525bfd2e Use new package name 2016-01-28 09:26:23 -07:00
Tim Schaub 49a5c832ea Report dependency versions 2016-01-27 13:33:53 -07:00
Tim Schaub 415ac07a60 Downgrade to mocha@2.3.4 2016-01-27 11:11:01 -07:00
Tim Schaub aff41cfcc0 Upgrade to eslint@2.0.0-beta.2 2016-01-27 09:35:01 -07:00
Tim Schaub 85ead5486c New Bing Maps key 2016-01-19 14:08:51 -07:00
Tim Schaub fd77ab64ad Use eslint@2.0.0-beta.1 2016-01-11 23:37:29 -08:00
Tim Schaub 13a981c94b Fewer blank lines 2016-01-11 22:03:23 -08:00
Tim Schaub 8d80924ba8 Remove gjslint.py 2016-01-11 22:03:12 -08:00
Tim Schaub 0a5d15db50 Remove jshint 2016-01-11 18:58:02 -08:00
Tim Schaub 8f0ecc4df2 Run ESLint with make lint 2016-01-11 18:56:09 -08:00
Tim Schaub 534124ec2f Lint free rendering tests 2016-01-11 18:56:09 -08:00
Tim Schaub 8c38d22b60 Lint free examples 2016-01-11 18:56:09 -08:00
Tim Schaub 0555bb081a Test indentation 2016-01-11 18:56:09 -08:00
Tim Schaub 3cf8618fc7 Prefer single line assignment to 80 character limit 2016-01-11 18:56:08 -08:00
Tim Schaub 59a66c7aaa Remaining valid-jsdoc corrections 2016-01-11 18:56:08 -08:00
Tim Schaub e6f6dcc230 Partial valid-jsdoc corrections 2016-01-11 18:56:08 -08:00
Tim Schaub b1d00af58b More globals 2016-01-11 18:56:08 -08:00
Tim Schaub fd0e2436da Always provide a default case for switch 2016-01-11 18:56:08 -08:00
Tim Schaub 932bf4deb3 Explicitly mark fall-throughs 2016-01-11 18:56:08 -08:00
Tim Schaub 54df314936 Consistent curly brace style 2016-01-11 18:56:08 -08:00
Tim Schaub ec10b661f3 Use block scoping 2016-01-11 18:56:08 -08:00
Tim Schaub 29a723166d No empty blocks 2016-01-11 18:56:07 -08:00
Tim Schaub 4e0cddcb41 Lint-free tests 2016-01-11 18:56:07 -08:00
Tim Schaub cca86886f1 Define variables before use 2016-01-11 18:56:07 -08:00
Tim Schaub 3602a37c96 Remove this commit with ESLint 2.0 2016-01-11 18:56:07 -08:00
Tim Schaub f627f7679b Valid JSDoc annotations 2016-01-11 18:56:07 -08:00
Tim Schaub 154b8babc4 Allow console use in Phantom 2016-01-11 18:56:07 -08:00
Tim Schaub 3f23dfb87b Indentation 2016-01-11 18:56:07 -08:00
Tim Schaub aac1d921c7 Unused variables 2016-01-11 18:56:07 -08:00
Tim Schaub 179b241aec Declare variables before assignment 2016-01-11 18:56:07 -08:00
Tim Schaub f0fc4d4e73 Curly brace spacing 2016-01-11 18:56:06 -08:00
Tim Schaub 9ae748408a Statement inside curly braces on its own line 2016-01-11 18:56:06 -08:00
Tim Schaub 8ab5a338b5 Unused origins 2016-01-11 18:56:06 -08:00
Tim Schaub 227c984d89 More test globals 2016-01-11 18:56:06 -08:00
Tim Schaub abd0d66e66 Lint-free tileurlfunction.test.js 2016-01-11 18:56:06 -08:00
Tim Schaub 23eebf396c Lint-free view.test.js 2016-01-11 18:56:06 -08:00
Tim Schaub 98dedfd2ff Custom lint configuration for test directory 2016-01-11 18:56:06 -08:00
Tim Schaub 681948e71c Lint-free test-extensions.js 2016-01-11 18:56:06 -08:00
Tim Schaub b3578325cb Lint free tasks 2016-01-11 18:56:06 -08:00
Tim Schaub b0a70b0ca6 Correcting invalid JSDoc blocks 2016-01-11 18:56:05 -08:00
Tim Schaub 38d0e98ff5 Whitespace 2016-01-11 18:56:05 -08:00
Tim Schaub 23f3e21ba4 Unused variables 2016-01-11 18:56:05 -08:00
Tim Schaub 1d65bab158 Dangling commas 2016-01-11 18:56:05 -08:00
Tim Schaub 80f9a7c5a5 Use ESLint 2016-01-11 18:56:05 -08:00
Tim Schaub 5001272a2e Remove extra options from icon example 2016-01-10 17:02:02 -07:00
Tim Schaub aeffd48ccb Remove checksum interface 2016-01-05 07:07:45 -07:00
Tim Schaub eb5607544c Update package version to 3.11.2 2015-11-19 11:32:41 -07:00