This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function promisifyFileReader (filereader) { | |
function composeAsync (key) { | |
return function () { | |
var args = arguments | |
return new Promise (function (resolve, reject) { | |
// | |
function resolveHandler () { | |
cleanHandlers() | |
resolve(filereader.result) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"presets": [], | |
"plugins": ["transform-vue-jsx", "transform-es2015-modules-commonjs"] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The name for this gist (starts with exclamation mark, because the name of the gist is the name of the first file in ASCIIbetical order) |