Skip to content

Commit

Permalink
added a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmywarting committed Jun 19, 2021
1 parent f2aea11 commit 76df0e1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions FormData.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */

/* global FormData self Blob File */
/* eslint-disable no-inner-declarations */

Expand Down
2 changes: 1 addition & 1 deletion build.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const postData = new URLSearchParams({
output_format: 'text',
output_info: 'compiled_code',
warning_level: 'QUIET',
output_wrapper: ';(function(){%output%})();',
output_wrapper: '/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */\n;(function(){%output%})();',
js_code: code
}).toString()

Expand Down
2 changes: 2 additions & 0 deletions esm.min.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */

import C from 'fetch-blob'
import F from 'fetch-blob/file.js'

Expand Down
2 changes: 2 additions & 0 deletions formdata-to-blob.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */

const escape = str => str.replace(/\n/g, '%0A').replace(/\r/g, '%0D').replace(/"/g, '%22')

/**
Expand Down
1 change: 1 addition & 0 deletions formdata.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 76df0e1

Please sign in to comment.