update travis

pull/144/head
Henrique Dias 2016-06-23 08:16:43 +01:00
parent 963c091fb5
commit 8d5618d0e4
3 changed files with 77 additions and 127 deletions

View File

@ -6,6 +6,8 @@ install:
- export GOPATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace:$GOPATH" - export GOPATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace:$GOPATH"
- export PATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace/bin:$PATH" - export PATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace/bin:$PATH"
- go get github.com/mholt/caddy - go get github.com/mholt/caddy
- go get github.com/caddyserver/caddydev
- go install github.com/caddyserver/caddydev
- go get github.com/hacdias/caddy-filemanager - go get github.com/hacdias/caddy-filemanager
- go generate - go generate
script: script:

View File

@ -343,17 +343,18 @@ document.addEventListener("DOMContentLoaded", function (event) {
document.getElementById("rename").addEventListener("click", renameEvent); document.getElementById("rename").addEventListener("click", renameEvent);
document.getElementById("download").addEventListener("click", downloadEvent); document.getElementById("download").addEventListener("click", downloadEvent);
/* var drop = document.getElementById("listing"); var drop = document.getElementById("listing");
drop.addEventListener("dragenter", change, false); drop.addEventListener("dragenter", change, false);
drop.addEventListener("dragleave",change_back,false); drop.addEventListener("dragleave",change_back,false);
function change() { function change() {
drop.style.backgroundColor = '#EFF2AA'; console.log("hey")
drop.style.backgroundColor = '#000';
}; };
function change_back() { function change_back() {
drop.style.backgroundColor = 'transparent'; drop.style.backgroundColor = 'transparent';
}; */ };
return false; return false;
}); });

175
binary.go

File diff suppressed because one or more lines are too long