Commit Graph

99 Commits

Author SHA1 Message Date
Iván Sánchez Ortega
67ab617f82
Tweak 'legacy' option in rollup config (#5929) 2017-11-20 10:34:18 +01:00
Andrew
b5cc500de6 update happen to 0.3.2 - fixes Popup tests in FF and Chrome (#5872) 2017-10-26 09:06:13 +02:00
Andrzej
64825cef8f avoid installing jake globally
Jake will be installed along with other devDependencies, so there is no need to install it one more time
2017-09-29 17:13:44 +03:00
Vladimir Agafonkin
88dd22cfe8 upgrade deps, fix indenting (#5743) 2017-08-31 08:58:42 +02:00
Per Liedman
969add49a9 Bump version to 1.2.0 2017-08-08 15:46:32 +02:00
john gravois
567f13a1a8 ensure copyright banner survives minification (#5682) 2017-08-06 10:47:25 +02:00
Vladimir Agafonkin
957f05da23 fix non-extendable objects regression of 1.1.0
Closes #5650 until we figure out a less hacky solution.
2017-07-27 11:03:51 +03:00
Bogdan Chadkin
b343cf7a58 Filter published files on npm (#5626)
* Filter published files on npm

For now not gzipped leaflet package is 23mb. There's weird 4mb file `.goutputstream-N6HL8X` and a lot other stuff which increases node_modules size. `files` field can fix this with specified whitelist.

* Remove npmignore
2017-07-18 17:25:28 +03:00
Per Liedman
ca540211e3 Blog post about 1.1.0 (#5581)
* Bump version to 1.1.0

* Blog post about 1.1.0

* Fix description

* Fix punctuation

* Update integrity hashes

* Set release date for 1.1.0

* Add reference for 1.1.0

* Point reference.html to docs for 1.1.0
2017-06-27 13:39:25 +02:00
Iván Sánchez Ortega
561b7f737b Add subresource integrity information & scripts (#5468)
* Add subresource integrity information & scripts

* Include the integrity hashes in all tutorials also

* Change wording of one of the build scripts
2017-04-19 14:56:14 +02:00
Dave Leaver
bd957ad32f Have uglifyjs spit out a sourcemap for leaflet.js too. (#5351)
* Have uglifyjs spit out a sourcemap for leaflet.js too.

Fixes #5341

* Fix incorrect source map file when publishing a release and add the new one too.
2017-02-21 13:53:07 +01:00
Simon Legner
c5f7dc4ad3 ES2015 modules: Add index.js files to subdirectories/namespace (#5329)
* Add index.js files to subdirectories/namespace

This allows to streamline the import/export in the main file.

* Fix tests by switching to karma-rollup-plugin
2017-02-13 14:14:00 +01:00
Joachim Kuebart
1010451a66 Pull min/maxNativeZoom from TileLayer into GridLayer, as per #5316. (#5319)
* Pull min/maxNativeZoom from TileLayer into GridLayer, as per #5316.

* Add a couple unit tests for GridLayer's maxNativeZoom
2017-02-09 10:33:43 +01:00
Vladimir Agafonkin
703ae02aa8 ES6 modules & Rollup (#4989)
* WIP ES6 modules & rollup

* WIP ES6 modules & rollup 2

* WIP ES6 modules & rollup 3

* WIP ES6 modules Browser

* WIP ES6 module fixes

* WIP ES6 modules: simpler browser exports

* WIP ES6: refactor CRS/Projection modules, CRS obj -> CRS.Base

* get rid of unnecessary index.js

* WIP ES6 modules, dom events and stuff

* Make linter happy, rollup to dist/

* revert to CRS namespace/class for now

* WIP rollup: export more stuff

* export controls

* rollup: export Layer

* rollup: export DomEvent

* rollup: export more layer types

* rollup: export Popup/Tooltip

* WIP: ES6-ify marker, icon, domutil, draggable.

* ES6-ify gridlayer, tilelayer.

* ES6-ify: Tweak imports-exports, code is now runnable!!

* ES6-ify: Fix scope in some DomUtils

* ES6-ify: Path, fix Popup

* ES6-ify: Lint & cleanup

* ES6-ify map handlers, more linting

* ES6-ify: Icon.Default namespacing

* ES6-ify: Renderers, CircleMarker

* ES6-ify: Circle, Polyline, LineUtil

* ES6-ify: Polygon, Rectangle, LineUtil, PolyUtil, linting

* ES6-ify: SVG.VML

* ES6-ify: DomEvent.Pointer, DomEvent.DoubleTap

* ES6-ify: Linting, make Karma play nice with Rollup

* ES6-ify: More work on fixing bits breaking some unit tests.

* ES6-ify: rollup the version number, fiddled with build scripts

* ES6-ify: Fiddle with test scripts

* ES6-ify: cleanup (refs to global L, imports from (DOM)Util), prevent cyclic loop on Map imports

* ES6-ify: More cleanup of (DOM)Util/Browser/DomEvent imports

* ES6ify: Use rollup's "legacy" option for ES3 (IE8) builds

* ES6-ify: Clean up build scripts, fix CONTRIBUTING.md instructions

* Typo

* ES6-ify: minor fixes and lefovers after rebasing on top of 1.0.2

* ES6-ify: upgrade to rollup 0.38 for proper IE8 builds, fix L.SVG.VML

* Make linter happy.

* ES6: Fixing typos and sxrew-ups after big rebase

* Fix symlink for debugging scripts

* ES6: Cleanup old build scripts

* ES6-ify: Update build system to include git rev in L.version

* ES6-ify: re-enable unit tests replacing L.Path with L.Polyline

* Export Path

* ES6ify: cleanup old banner file

* ES6-ify: whitespace in var declarations

* ES6-ify: Export toTransformation as L.transformation

* ES6-ify: cleanup L.transform exports

* ES6-ify: "import Util" in Transformation and SVG.VML
2017-01-30 11:35:16 +01:00
Iván Sánchez Ortega
1cc4660d98 Changelog for 1.0.3, version bump. (#5274)
* Changelog for 1.0.3, version bump.

* Fix 1.0.3 release date
2017-01-23 12:16:07 +01:00
Iván Sánchez Ortega
65102bc4d1 Website updates for 1.0.2, version bump (#5123) 2016-11-21 12:33:57 +01:00
Iván Sánchez Ortega
9a1d786075 Version bump to 1.0.1 2016-09-30 14:19:56 +02:00
Vladimir Agafonkin
fdf6b92be3 upgrade some deps 2016-09-27 13:46:25 +03:00
Iván Sánchez Ortega
79d8837b1f Version bump to 1.0.0; update 1.0.0 docs based on leafdoc (#4940) 2016-09-26 16:21:40 +03:00
Iván Sánchez Ortega
434c4e9db3 Clamp eslint to <3.6.0 because of eslint/eslint#7248 2016-09-26 13:48:55 +02:00
Vladimir Agafonkin
35c30a1bcf upgrade deps 2016-08-09 17:51:17 +03:00
Yohan Boniface
833340752c Bump version; changelog (#4786) 2016-08-05 12:25:56 +03:00
Yohan Boniface
406e1f660a Bump version 2016-07-15 12:15:46 +02:00
Jon Woyame
ad3f590dd0 limit ESLint to project folder (#4654) 2016-06-18 23:51:21 -07:00
Vladimir Agafonkin
17bd81be7f update deps 2016-06-01 20:10:00 +03:00
Manuel Lopez
28879629f3 moved eslint configuration to package.json (#4571)
This should help in the efforts of keeping the root directory clean.
2016-06-01 17:32:06 +03:00
Iván Sánchez Ortega
ddf8f0575e Leafdoc: fix internal links & inconsistent return types (#4469)
* Leafdoc: fix internal links & inconsistent return types

* an -> a
2016-04-20 16:29:08 +02:00
Iván Sánchez Ortega
ca01120227 Use git rev as semver metadata 2016-04-19 12:32:08 +02:00
Iván Sánchez Ortega
acbc6d23a9 Sourcemaps: replace magic-string with source-map.SourceNode 2016-04-19 10:22:52 +02:00
Vladimir Agafonkin
a626826974 update deps and bump travis node version 2016-04-18 11:15:46 +03:00
Per Liedman
c22ee29d79 Bump version to 1.0.0-rc.1 (#4454) 2016-04-18 09:26:02 +02:00
Iván Sánchez Ortega
c6c0e4f484 Switch prosthetic-hand to 1.3.0 and use onStop callback 2016-04-02 17:55:22 +02:00
Iván Sánchez Ortega
560e73bac5 Trying out Leafdoc comments in L.Marker
Added Leafdoc comments to Layer.js

Leafdoc comments for Popup, Layer

Leafdoc comments: L.Evented, inheritances, minor tilelayer

Leafdoc comments: gridlayer & tilelayer options

Leafdoc comments: tilelayer, marker drag

Typos

Leafdoc: switch to shorthand method params

Leafdoc: Switch to shorthands in marker drag, WMS.

Leafdoc: Vector layers

Leafdoc: Layer group, feature group, geojson

Leafdoc: LatLng, Point, Bounds, Icons.

Leafdoc: Controls.

Leafdoc: DOM & utils.

Leafdoc: "jake docs" now builds the documentation

Leafdoc: Commit actual templates instead of symlinks

Leafdoc: Fix broken build, have jake print out uglifyjs errors

Leafdoc: Several L.Map bits.

Leafdoc: Map handlers

Leafdoc: Map events, L.CRS, misc. fixes

Leafdoc: Fixed ordering of classes by using new leafdoc features

Leafdoc: Misc bits at the bottom of the docs

🍂doc: Map panes

🍂doc: CRSs, projections and their templates

🍂doc: miniclasses for map methods' options

Leafdoc: Cleanup L.Class, mark uninheritable sections, use Leafdoc 0.3.0

🍂doc: miniclasses for event types, bump to Leafdoc 1.0.0

🍂doc: Make linter happy after branch rebase

🍂doc: Tweaked headers for inherited stuff.

🍂doc: Tweaking section headers (white, padding, triangles)

Leafdoc: upgrade to 1.2, document SVG&Canvas, and misc bits

🍂doc: minor CSS tweaks, version in filename, typo.

Add missing bits - supersedes #4105, #4065, #4031

🍂doc: moved sections around, minor typos & fixes

Typo about LocationEvent
2016-04-02 15:59:39 +02:00
Iván Sánchez Ortega
8da61993d2 Added four prosthetic-hand tests, checking mouse&touch drag events and touch-zoom 2016-03-18 15:24:42 +01:00
Iván Sánchez Ortega
3c38ae3ef0 Update phantomjs dependency version 2016-02-29 17:05:13 +01:00
Vladimir Agafonkin
ca43794128 simplify bower setup, remove component
Component is not an active project anymore, and bower no longer
requires a version field in the config.
2015-10-26 19:25:39 +02:00
Vladimir Agafonkin
55fe462508 v1.0.0-beta.2 2015-10-14 19:17:05 +03:00
Vladimir Agafonkin
857848fbee come back to the old publishing approach with improvements 2015-10-14 19:16:05 +03:00
Vladimir Agafonkin
213c602f4e new Travis configuration with automatic releases 2015-10-14 18:09:47 +03:00
Vladimir Agafonkin
80960fe9e7 add the now missing phantomjs dep 2015-10-14 16:44:21 +03:00
Vladimir Agafonkin
301473ad4d more strict eslinting 2015-09-25 13:40:21 +03:00
Vladimir Agafonkin
08d655fe66 upgrade deps and stricter eslint 2015-09-04 17:46:55 +02:00
Iván Sánchez Ortega
62f1cd2f58 Build sourcemaps via magic-string 2015-08-10 15:29:00 +02:00
Vladimir Agafonkin
3e636d26b9 bump versions 2015-07-15 12:12:53 +03:00
Vladimir Agafonkin
14206e8a40 update deps 2015-07-13 18:35:34 +03:00
Vladimir Agafonkin
7ff5de00ed bump version 2015-07-13 18:35:34 +03:00
Peter deHaan
6a6d833a2f Update license attribute
specifying the type and URL is deprecated:

https://docs.npmjs.com/files/package.json#license
http://npm1k.org/
2015-05-28 13:15:31 -07:00
Vladimir Agafonkin
d1c3550017 update deps 2015-05-20 19:45:56 +03:00
Vladimir Agafonkin
b170695fe5 bump version to clear up confusion 2015-05-08 17:55:19 +03:00
Vladimir Agafonkin
64b9d05e4c update deps 2015-05-08 17:54:34 +03:00