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
Tim Schaub
4999c792f1
Changelog for v3.11.2
2015-11-19 11:28:02 -07:00
Tim Schaub
cbfd533d49
Revert to jQuery for editing with Esri and IE 9
2015-11-18 10:21:00 -07:00
Tim Schaub
d3ff8d7fb0
More consistent markup
2015-11-18 10:06:35 -07:00
Tim Schaub
19fe73e78e
Doc typos
2015-11-18 09:56:16 -07:00
Tim Schaub
72a0f70e7a
Update simple title
2015-11-18 09:56:16 -07:00
Tim Schaub
645a0ce2d4
Update flight animation example
2015-11-18 09:56:16 -07:00
Tim Schaub
d19bf0970b
Rename strapless template
2015-11-18 09:56:15 -07:00
Tim Schaub
10eb041199
Remove old example template
2015-11-18 09:56:15 -07:00
Tim Schaub
99ca4047dd
Convert forgotten examples to strapless template
2015-11-18 09:56:15 -07:00
Tim Schaub
d838214f96
Convert X-Z examples to strapless template
2015-11-18 09:56:15 -07:00
Tim Schaub
c463321643
Convert WMTS examples to strapless template
2015-11-18 09:56:15 -07:00
Tim Schaub
a94a00de1d
Convert WMS examples to strapless template
2015-11-18 09:56:15 -07:00
Tim Schaub
9a35c08300
Convert WKT example to strapless template
2015-11-18 09:56:15 -07:00
Tim Schaub
8bd97532df
Convert V examples to strapless template
2015-11-18 09:56:15 -07:00
Tim Schaub
baed03d50d
Convert S-T examples to strapless template
2015-11-18 09:56:15 -07:00
Tim Schaub
c984bedd09
Convert R examples to strapless template
2015-11-18 09:56:14 -07:00
Tim Schaub
e6343ca272
Convert M-P examples to strapless template
2015-11-18 09:56:14 -07:00
Tim Schaub
f88681951a
Convert L examples to use strapless template
2015-11-18 09:56:14 -07:00
Tim Schaub
87fcca91bd
Convert K examples to strapless template
2015-11-18 09:56:14 -07:00
Tim Schaub
6fd6b794ef
Use fetch instead of $.ajax in JSTS example
2015-11-18 09:56:14 -07:00
Tim Schaub
2fff18fd0c
Use cdn.polyfill.io for polyfills
2015-11-18 09:56:14 -07:00
Tim Schaub
91a772a952
Convert H-I examples to strapless template
2015-11-18 09:56:14 -07:00
Tim Schaub
88ec3b9f6c
Convert F-G examples to strapless template
2015-11-18 09:56:14 -07:00
Tim Schaub
2e8f4806d2
Give the docs some breathing room
2015-11-18 09:56:14 -07:00
Tim Schaub
b8cf2b213b
Make the titles more like titles
2015-11-18 09:56:14 -07:00
Tim Schaub
3035bbdfd3
Convert D-E examples to strapless template
2015-11-18 09:56:14 -07:00
Tim Schaub
c3165252f8
Move title above map
2015-11-18 09:56:13 -07:00
Tim Schaub
5a511c7591
Remove "// NOCOMPILE" lines from examples
2015-11-18 09:56:13 -07:00
Tim Schaub
48be3ee572
Simplify the simple example
2015-11-18 09:56:13 -07:00
Tim Schaub
734712bf9c
Convert A-C examples to strapless template
2015-11-18 09:56:13 -07:00
Tim Schaub
a2f84b144f
Avoid including bootstrap.min.css twice
2015-11-18 09:56:13 -07:00
Tim Schaub
74f2b4cb74
Intentional indentation and newlines
2015-11-18 09:56:13 -07:00
Tim Schaub
58d22350d8
New template that removes Bootstrap and jQuery from code snippet
2015-11-18 09:56:13 -07:00
Tim Schaub
3dcc2843ae
Write directly to stdout in publish script
2015-11-17 18:06:29 -07:00
Tim Schaub
34dd7b76b1
Use jsdoc@3.4.0
2015-11-17 18:04:16 -07:00
Tim Schaub
4c19e13bf6
Update package version to 3.11.1
2015-11-12 16:17:57 -07:00
Tim Schaub
1c6a56f781
Changelog for v3.11.1
2015-11-12 16:17:06 -07:00
Tim Schaub
99a902a311
Get rid of extra style arrays in examples
2015-11-11 18:24:08 -07:00
Tim Schaub
e8c99e4e63
Allow style function to return a style
2015-11-11 17:21:24 -07:00
Tim Schaub
657af1983d
Update package version to 3.11.0
2015-11-11 14:25:37 -07:00
Tim Schaub
ab7e608129
Changelog for v3.11.0
2015-11-11 14:24:56 -07:00
Tim Schaub
c02fdf2393
Doc corrections and truthy check
2015-11-11 11:12:58 -07:00
Tim Schaub
d5c7f805ab
Unregister postrender listener in tests
2015-11-01 09:03:23 -07:00
Tim Schaub
6c813020c2
Correct error message for missing layout property
2015-11-01 08:15:05 -07:00
Tim Schaub
0149924551
Update Metalsmith and layout plugin
2015-11-01 02:18:09 -07:00
Tim Schaub
921d736340
Run tests with Node 4 on Trusty
2015-11-01 01:19:07 -07:00
Tim Schaub
98c9b0eb39
Update phantomjs and use mocha-phantomjs-core
2015-11-01 01:18:59 -07:00