Fabrizio
d9655a1e9a
Change Util.formatNum default to 6 decimals ( #5492 )
...
* Util.formatNum default to 6
Changed Util.formaNum default to 6 decimails.
Solved 0 decimals bug.
Added tests.
Can be useful for PR #5444
* Changed documentation
Changed documentation to 6 instead of 5
2017-10-02 18:36:59 +02:00
Jan Pieter Waagmeester
37254587be
Allow dashes in template placeholders + tests
2016-03-21 14:36:21 +01:00
Vladimir Agafonkin
8c8d0ac7ee
fix whitespace in comments
2015-09-25 15:37:07 +03:00
Vladimir Agafonkin
cfdbd10431
enforce indentation in specs
2015-09-25 13:55:37 +03:00
Vladimir Agafonkin
d145b1fdba
fix a bunch of eslint warnings in the spec suite
2015-01-28 19:32:27 +02:00
Vladimir Agafonkin
47783821f7
rename limitExecByInterval to throttle, better implementation
2013-12-21 01:49:25 -05:00
Vladimir Agafonkin
9f09f50812
remove Util invokeEach since on/off are hot functions
2013-12-18 22:05:47 -05:00
John Firebaugh
ad9d0f8c7f
Make options object prototype-inherited
...
Fixes #2294
2013-12-15 13:30:30 -08:00
Vladimir Agafonkin
88f21d01af
better bind, use native fn.bind if available
2013-12-02 19:16:00 +02:00
Calvin Metcalf
4a0beebde3
Revert "' #1968 compiled interpolation'"
2013-11-20 15:42:06 -05:00
Vladimir Agafonkin
91c039b7aa
jshinting and major clean up of specs code, ref #2151
2013-11-07 23:54:33 +02:00
Vladimir Agafonkin
ec7baabccf
merge runner cleanup #2134
2013-11-04 13:18:24 +02:00
Jan Pieter Waagmeester
99bd248566
Whitespace OCD
2013-10-29 11:49:09 +01:00
Jan Pieter Waagmeester
a7f2d1975f
Allow double quotes in template strings fixes #2120
2013-10-23 15:14:59 +02:00
Vladimir Agafonkin
361c9cab6d
fix isArray not working IE9 in rare cases, close #2077
2013-10-08 16:59:42 +03:00
Vladimir Agafonkin
21d8bde0b7
fix tempate interpolation test and build
2013-08-27 22:06:01 +03:00
Calvin Metcalf
b2b25c8941
' #1968 compiled interpolation'
2013-08-27 13:03:07 -04:00
Vladimir Agafonkin
a5e8bc0f49
add Util.invokeEach for hash arguments in event methods
2013-04-19 17:23:14 +03:00
Tom MacWright
a2f7d7e834
Use mocha
2013-04-03 14:50:09 -07:00
John Firebaugh
01332ebead
Omit "should" in spec descriptions
...
The rationale is this: the spec string describes the expected
behavior unconditionally. The code examples, on the other hand,
set up an expectation that is tested with the call to the expect
method. The code examples can violate the expectation, but the
spec string does not. The value of the spec string is as clearly
as possible describing the behavior. Including “should” in that
description adds no value. (From http://rubyspec.org/style_guide/ )
2013-02-19 12:41:48 -08:00
Tom MacWright
eae5758ff4
Split template tests into logic groups, test for template without
...
tokens.
2013-02-15 17:38:11 -05:00
Vladimir Agafonkin
ed8dc9f4cd
improve core specs #1347
2013-02-04 18:31:14 +02:00
snkashis
6b4f5c4cf7
handling no existingUrl scenario
2012-12-27 14:39:19 -05:00
snkashis
3d416f38e1
whitespace for hash
2012-12-26 11:45:38 -05:00
Steve
3208db476c
Semicolons in spec
2012-12-22 23:52:25 -05:00
snkashis
8c7c06431a
handle existing query strings for WMS urls , #973
2012-12-22 17:47:38 -05:00
Vladimir Agafonkin
382ef5c0b2
spec cleanup
2012-07-05 12:54:40 +03:00
mourner
42bcb9b3b3
DomUtil, DomEvent, namespace config improvements, some specs
2010-09-07 14:27:44 +03:00
mourner
4854e0f9f7
minor renaming
2010-09-06 19:14:04 +03:00
mourner
0eb9cd8cc6
L.Util.stamp & specs
2010-09-06 16:17:06 +03:00
mourner
341f6e726f
added Events, folder renaming
2010-09-03 17:38:41 +03:00