Small stuff to make eslint happy

This commit is contained in:
Mike Schwörer 2016-12-16 22:32:19 +01:00
parent 4c36123fd7
commit dea16f63f5
No known key found for this signature in database
GPG Key ID: D3C7172E0A70F8CF
2 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ module.exports = function(grunt) {
"src/js/lib/vkbeautify.js",
"src/js/lib/Sortable.js",
"src/js/lib/bootstrap-colorpicker.js",
'src/js/lib/jquery.xpath.js',
"src/js/lib/jquery.xpath.js",
// Custom libraries
"src/js/lib/canvas_components.js",

View File

@ -396,7 +396,7 @@ var Extract = {
};
return Array.apply(null, Array(result.length))
.map(function (_, i) {return result[i];})
.map((_, i) => result[i])
.map(nodeToString)
.join(delimiter);
},