mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-10 00:16:18 +02:00
upgrade node on travis n eslint fixes
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
language: node_js
|
||||
node_js:
|
||||
- '6.0'
|
||||
- '8.1.2'
|
||||
install:
|
||||
- npm install -g eslint
|
||||
- npm install -g babel-eslint
|
||||
|
@ -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