Merge pull request #1210 from sapics/mini-patch

Replace nodejs version 5 to 6 in Travis
This commit is contained in:
Jürg Lehni 2016-12-29 09:34:05 +01:00 committed by GitHub
commit 767a438286
3 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
language: node_js
node_js:
- stable
- '5'
- '6'
- '4'
sudo: false
env:

View file

@ -2848,7 +2848,7 @@ statics: {
if (style.getStrokeJoin() === 'miter')
joinRadius = strokeRadius * style.getMiterLimit();
if (style.getStrokeCap() === 'square')
joinRadius = Math.max(joinRadius, strokeRadius * Math.sqrt(2));
joinRadius = Math.max(joinRadius, strokeRadius * Math.SQRT2);
strokePadding = Path._getStrokePadding(strokeRadius, strokeMatrix);
joinPadding = Path._getStrokePadding(joinRadius, strokeMatrix);
}

View file

@ -770,7 +770,7 @@ var PathItem = Item.extend(/** @lends PathItem# */{
* @function
*
* @param {PathItem} path the path to compare this path's geometry with
* @return {Boolean} {@true if two paths describe the shame shape}
* @return {Boolean} {@true if two paths describe the same shape}
*/
compare: function(path) {
var ok = false;