Browse Source

changed callbacks to arrow expressions

Harry Hedger 9 years ago
parent
commit
235a514831
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/plugins/Formtag.js

+ 2 - 2
src/plugins/Formtag.js

@@ -24,8 +24,8 @@ export default class Formtag extends Plugin {
         var files    = [];
         var selected = [];
 
-        [].forEach.call(fields, function(field, i) {
-          [].forEach.call(field.files, function(file, j) {
+        [].forEach.call(fields, (field, i) => {
+          [].forEach.call(field.files, (file, j) => {
             selected.push({
               from: 'Formtag',
               file: file