Commit Graph

42 Commits

Author SHA1 Message Date
Yohan Boniface
5dfc3364d1 Allow to make screenshots in Phantomjs (#4705)
* Load CSS in PhantomJS

* Allow to take screenshot in PhantomJS while running tests

For that, one need to run this call:

    window.top.callPhantom({'render': 'screenshot.png'});

* Make PhantomJS serve images

* Bonus: those tests now passe in Phantom too

* Add helper to make screenshot in tests

	takeScreenshot();

or

	takeScreenshot('path/to/screenshot.png');
2016-07-08 11:05:12 +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
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
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
John Firebaugh
e0a75093dc Merge pull request #3028 from tomhughes/jshint
Don't require jshint as it is not used
2014-11-17 13:54:31 -08:00
Tom Hughes
8f5fe4defc Don't require jshint as it is not used 2014-11-15 14:43:57 +00:00
Vladimir Agafonkin
0cf887fdb4 fix Travis build false passes when running tests 2014-01-03 00:37:07 +02:00
Vladimir Agafonkin
9ae1623910 include version info in top comment, close #2276 2013-12-26 18:46:00 +02:00
Vladimir Agafonkin
28b26498c6 fix coverage reporting 2013-12-02 19:18:07 +02:00
Vladimir Agafonkin
16d12f4ac0 improve build reporting more 2013-11-28 15:20:25 +02:00
Vladimir Agafonkin
941b206714 improve size reporting when building and add gzipped size 2013-11-28 14:56:32 +02:00
Vladimir Agafonkin
58b93f80b1 remove closure compiler instructions; close #2193 2013-11-15 16:35:25 +02: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
ff214407eb add ie and safari to jake test platforms 2013-04-20 13:44:31 +03:00
John Firebaugh
e6998948b1 Compatibility with browserify
In a browserify package, `this` will refer to a node-style
exports object, not window. So just reference `window`
directly.
2013-04-08 10:49:39 -04:00
Vladimir Agafonkin
6c7316dfec fix coverage reporting in Karma #1479, close karma-runner/karma#461 2013-04-04 12:18:17 +03:00
Vladimir Agafonkin
80ba8d9054 remove testacular master hack (as 0.6 is now stable) 2013-04-03 14:50:10 -07:00
Tom MacWright
a2f7d7e834 Use mocha 2013-04-03 14:50:09 -07:00
John Firebaugh
28daa9e9b1 testacular -> karma 2013-04-03 14:12:51 -07:00
Vladimir Agafonkin
c0d01ceffe remove testacular master hack (as 0.6 is now stable) 2013-04-03 14:12:13 -07:00
Vladimir Agafonkin
81221ae4cd fix jshint 1.1.0 errors, update deps and build 2013-03-07 17:39:55 +02:00
Vladimir Agafonkin
86cfce1771 merge #1340, fix whitespace 2013-02-04 13:42:27 +02:00
Eldar Djafarov
071bb587b8 use master testacular only if --cov 2013-02-02 05:48:14 -02:00
Eldar Djafarov
2da36a2851 test coverage initial commit 2013-02-02 05:29:20 -02:00
Vladimir Agafonkin
7977220830 don't require testacular for other jake tasks 2013-01-31 13:17:42 +02:00
Eldar Djafarov
c8c19d3b6f Make getFiles more consistent 2013-01-30 16:48:22 -02:00
Eldar Djafarov
c4b8139ee8 fix code style 2013-01-30 16:41:13 -02:00
Eldar Djafarov
7e537eb954 enable testacular runner 2013-01-30 12:06:19 -02:00
Felixls
156a4814da Update build/build.js
Error in index variable
2012-12-26 15:21:10 -02:00
mourner
d1254ddecc build script fixes and cleanup 2012-12-17 21:32:00 +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
3bd189ed4c disregard line endings when comparing size 2012-10-30 23:38:41 +02:00
mourner
50c6c480b4 add window and undefined to outer closure 2012-07-01 16:18:00 +03:00
Vladimir Agafonkin
53afad9041 update build 2012-06-02 10:55:59 +03:00
mourner
6f40aeeb97 refactor icon and default marker image paths, wrap library in a function 2012-05-10 17:03:50 +03:00
Andy Chosak
2049bafbec Pull request for issue #447. 2012-01-26 15:45:12 -05:00
mourner
43a405214c Report build size change 2011-12-13 00:41:56 +02:00
mourner
1d945e98d9 fix line endings and update build 2011-12-12 22:15:06 +02:00
mourner
313f3d9ebe split build code into two files 2011-12-12 12:44:16 +02:00