Browse Source

use lambda

Gildas 7 năm trước cách đây
mục cha
commit
ecebc17fcc
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lib/single-file/parse-srcset.js

+ 1 - 1
lib/single-file/parse-srcset.js

@@ -17,7 +17,7 @@
 this.parseSrcset = (() => {
 
 	// 1. Let input be the value passed to this algorithm.
-	return function (input) {
+	return input => {
 
 		// UTILITY FUNCTIONS