Commit Graph

229 Commits

Author SHA1 Message Date
Andreas Hocevar becce622e5 Update xol script and content 2018-03-11 09:12:14 -06:00
Andreas Hocevar c4cf75e470 Use let instead of var for exports 2018-03-11 09:12:02 -06:00
Tim Schaub 0ae5ba2904 Script for migrating externs/olx.js 2018-03-11 09:07:04 -06:00
Andreas Hocevar a964dd27e9 Make sure namespaces are populated after they were created 2018-03-09 15:48:31 +01:00
Tim Schaub 449568802a Remove unused deps, unused tasks, and outdated info 2018-03-03 13:25:46 -07:00
Andreas Hocevar 73f9d6dcdd Merge pull request #7741 from ahocevar/typecheck-full-build
Type checking and full build creation
2018-02-10 02:09:31 +01:00
Andreas Hocevar 287723902c Use babel and closure without bundler for type checking 2018-02-08 19:51:28 +01:00
Andreas Hocevar 9c12b351e5 Use webpack for full build, find something else for type checking 2018-02-08 19:51:28 +01:00
Andreas Hocevar 03e244a6a2 Add type checking and full build creation
This uses Closure Compiler to create a full build and run type checks.
Currently type errors are reported as warnings and the build is created
with SIMPLE optimizations until we have transitioned all types to path
types.
2018-02-08 19:51:27 +01:00
Andreas Hocevar e6036439f6 Generate index.js instead of ol.js 2018-02-08 19:51:27 +01:00
Andreas Hocevar 64258a1ac4 Add generate-ol task to create a full build
Creating the full build will also serve as type checker.
2018-02-08 19:51:27 +01:00
Andreas Hocevar efd9f2c088 Handle modules 2018-02-08 19:51:26 +01:00
Frederic Junod e25e61c3b7 Rename location shader classes
And remove the now unneeded NAMESPACE variable
2018-02-08 15:18:11 +01:00
Frederic Junod 2bf252ab0d Add MODULE variable in the glsl file 2018-02-08 15:18:11 +01:00
Tim Schaub ad62739a6e Use blocked scoped variables
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
2018-01-12 00:50:30 -07:00
Tim Schaub 50737f7f73 Remove unused code, get tests passing on Travis 2017-12-12 06:58:02 -07:00
Karthik Kumar A 02b899869d rename entry to input - regarding options to rollup lib - Issue #7358 2017-10-14 14:18:20 +05:30
Andreas Hocevar 5499028042 Rename before running transform 2017-09-12 21:13:58 +02:00
Andreas Hocevar e876003684 Use the correct name in imports 2017-09-12 18:03:03 +02:00
Andreas Hocevar d0e9fd68ff Rename files so the case matches the module name 2017-09-12 18:03:03 +02:00
Andreas Hocevar 5e42928937 Replace pyglslunit.py with a JavaScript rewrite 2017-08-29 23:11:24 +02:00
Guillaume Beraudo b4ffc8cf75 Put greekeeper changelog in a separate block 2017-08-23 08:07:36 +02:00
Guillaume Beraudo 3b39ca350c Exclude greenkeeper merges from changelog
There is a great deal of lines about Greenkeeper merges in the changelog, making it
hard to find real changes to the code.

This commit modifies the changelog task to exclude such lines.
2017-08-21 14:55:43 +02:00
Andreas Hocevar bd098c7821 Update rollup options object 2017-08-20 13:14:53 -04:00
Tim Schaub 02b2cdbd27 Remove unused tasks and update instructions 2017-08-16 13:45:13 -04:00
Tim Schaub 8e91d51d7c Provide Karma with updated dependencies on change 2017-08-16 13:35:31 -04:00
Tim Schaub 44a976eb60 Run tests in real browsers with Karma 2017-08-16 13:35:31 -04:00
Andreas Hocevar c6b942f185 Allow styles to configure a custom renderer
Two new examples show how custom renderers can be used to render text along
paths, and to declutter labels using 3rd party libraries.
2017-07-29 17:57:38 +02:00
Andreas Hocevar 5f6f757bd0 Update rollup configuration 2017-07-10 18:59:58 +02:00
Marc Jansen 9fc0fb5e74 Merge pull request #6916 from marcjansen/eslint-4-upgrade
Upgrade eslint to v4.0.0
2017-06-22 07:55:06 +02:00
Marc Jansen d0ef05977b Autofix indentation issues (eslint --fix) 2017-06-19 11:58:00 +02:00
Frederic Junod 0982dc0551 Load tasks/build-ext.js in strict mode
For nodejs 4.x compatibility.
2017-06-13 16:50:29 +02:00
Tim Schaub 3c88e04d4c New task for bundling dependencies 2017-05-02 23:28:00 -06:00
Tim Schaub 3f973e6fa3 Allow single (non-default) import from dependencies 2017-05-02 15:04:20 -06:00
Frederic Junod b1f38ea0e8 Fix spelling 2017-04-24 08:58:19 +02:00
Tim Schaub 530419a839 Correct path to cleancss 2017-04-13 21:20:34 -06:00
Andreas Hocevar e5ef1aa5a1 Add missing return annotation 2017-03-26 14:35:58 +02:00
Andreas Hocevar 166ef525f0 Remove lint 2017-03-26 14:26:23 +02:00
Toilal c4029fb9b6 Fix custom build when openlayers is installed from yarn package manager
This enhance the procedure to find path of jsdoc binary by checking if the file exists.
It also use 2 possible paths to perform this check, one for npm and the other for yarn.

Close #6633
2017-03-24 12:17:06 +01:00
Frederic Junod 9ae7df918f Update slimerjs to v0.10.3 2017-03-20 08:22:31 +01:00
Andreas Hocevar ddeb9c84e2 Merge pull request #6461 from tchandelle/codepen
Add button to edit examples in CodePen
2017-02-08 11:24:46 +01:00
Thomas Chandelle 89dd4af9cb Remove JSFiddle 2017-02-08 09:04:16 +01:00
Guillaume Beraudo c77169fcac Update closure compiler to v20170124 2017-01-31 11:48:02 +01:00
Andreas Hocevar 7424ee91e3 Remove the '3' from OpenLayers 2017-01-02 23:03:03 +01:00
Tim Schaub 137cdc04c8 Remove ol.DEBUG 2017-01-01 20:37:52 -07:00
Frederic Junod 392cbcc138 Enforces spacing around commas 2016-12-14 13:42:47 +01:00
Frederic Junod 1478cadb18 Consistent spacing between keys and values in object literal
Related to https://github.com/openlayers/eslint-config-openlayers/pull/9
2016-12-14 12:10:47 +01:00
Tim Schaub 99eddbb31f Require all when generating exports 2016-12-04 16:43:15 -07:00
Thomas Chandelle d8c428a8a2 Remove also carriage return after goog.require in examples 2016-11-22 16:49:12 +01:00
greenkeeperio-bot 71ebed07bf chore(package): update eslint to version 3.9.1
https://greenkeeper.io/
2016-11-01 11:51:06 +01:00