mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-30 10:10:13 +02:00
upgrade node on travis n eslint fixes
This commit is contained in:
@@ -1121,7 +1121,7 @@ runBtn, searchInput, consoleEl, consoleLogEl, logCountEl, fontStyleTag, fontStyl
|
||||
function onImportFileChange(e) {
|
||||
var file = e.target.files[0];
|
||||
// if (!f.type.match('image.*')) {
|
||||
// continue;
|
||||
// continue;
|
||||
// }
|
||||
|
||||
var reader = new FileReader();
|
||||
|
@@ -50,9 +50,9 @@
|
||||
getList(input) {
|
||||
var url = 'https://api.cdnjs.com/libraries?search=';
|
||||
return fetch(url + input)
|
||||
.then((response) => {
|
||||
return response.json().then((json) => json.results);
|
||||
});
|
||||
.then((response) => {
|
||||
return response.json().then((json) => json.results);
|
||||
});
|
||||
}
|
||||
replaceCurrentLine(val) {
|
||||
var lines = this.t.value.split('\n');
|
||||
|
Reference in New Issue
Block a user