Commit Graph

31 Commits

Author SHA1 Message Date
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
Vladimir Agafonkin
66e7b6425b remove unnecessary lint args, close #4613 2016-06-01 20:05:11 +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
ca01120227 Use git rev as semver metadata 2016-04-19 12:32:08 +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
Yohan Boniface
a9658d7178 Use standard .eslintrc naming 2015-02-26 11:29:42 +01:00
Vladimir Agafonkin
aeb5083170 complete the switch to ESLint 2015-01-28 19:33:45 +02:00
Christian Schwarz
04ed2571fb Fixed jake build if leaflet copy is not a git repository 2014-06-24 22:58:54 +02:00
Vladimir Agafonkin
9ae1623910 include version info in top comment, close #2276 2013-12-26 18:46:00 +02:00
Peter Wu
380c0843f2 Do not ignore custom build parameters
Regression from 941b206714 ("improve size
reporting when building and add gzipped size").
2013-12-17 11:31:02 +01:00
Vladimir Agafonkin
941b206714 improve size reporting when building and add gzipped size 2013-11-28 14:56:32 +02:00
danzel
f89829ff85 Fix build script on windows. 2013-11-13 09:53:07 +13:00
Vladimir Agafonkin
244f9f39ce improve and clean up build system, jshint specs in tests, close #2151 2013-11-08 17:55:58 +02:00
Vladimir Agafonkin
4492d8f92d update Jakefile comment 2013-02-07 19:00:15 +02:00
Vladimir Agafonkin
08f0e90c70 minor comment fixes 2013-02-01 15:17:11 +02:00
Eldar Djafarov
7e537eb954 enable testacular runner 2013-01-30 12:06:19 -02:00
Vladimir Agafonkin
c6caf93c00 refactor build scripts, cleanup 2012-12-17 19:15:19 +02:00
Vladimir Agafonkin
9fac165906 update build scripts to work with UglifyJS2 2012-12-12 19:08:57 +02:00
Vladimir Agafonkin
4080a64adc update website link, update build 2012-11-02 15:16:17 +02:00
Vladimir Agafonkin
9aa723d95b cleanup Jakefile 2012-07-12 10:39:22 +03:00
mourner
70f9d3006b CR LF -> LF 2012-05-10 11:11:52 +03:00
mourner
9707a4894e Update changelog and build 2012-02-13 16:25:57 +02:00
mourner
43a405214c Report build size change 2011-12-13 00:41:56 +02:00
mourner
b523a23bb5 fix line endings and update build 3 2011-12-12 22:21:20 +02:00
mourner
709f9ae84a fix line endings and update build 2 2011-12-12 22:15:35 +02:00
mourner
1d945e98d9 fix line endings and update build 2011-12-12 22:15:06 +02:00
mourner
55f653333b Readme update 2011-12-12 21:51:27 +02:00
mourner
f68a227680 integrate jshint into Jakefile, minor cleanup 2011-12-12 19:54:03 +02:00
mourner
313f3d9ebe split build code into two files 2011-12-12 12:44:16 +02:00
mourner
a278c982b2 simplify deps management 2011-12-12 12:10:22 +02:00
mourner
f2a2868ed3 add components configuration to jake build 2011-12-12 11:42:42 +02:00