1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-09 16:06:21 +02:00

upgrade node on travis n eslint fixes

This commit is contained in:
Kushagra Gour
2017-06-23 10:52:03 +05:30
parent a29c00d5d3
commit d0db322600
3 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
language: node_js
node_js:
- '6.0'
- '8.1.2'
install:
- npm install -g eslint
- npm install -g babel-eslint

View File

@ -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();

View File

@ -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');