diff --git a/README.md b/README.md index 7a2a52d5..e12bb192 100644 --- a/README.md +++ b/README.md @@ -124,8 +124,6 @@ go get -u github.com/denisenkom/go-mssqldb go get -u github.com/fsnotify/fsnotify -go get -u github.com/gopherjs/gopherjs/... - go generate diff --git a/client/main.go b/client/main.go deleted file mode 100644 index 29a2439e..00000000 --- a/client/main.go +++ /dev/null @@ -1,30 +0,0 @@ -package main - -import ( - "bytes" - - "../common" - "../common/alerts" - "../tmpl_client" - "github.com/gopherjs/gopherjs/js" -) - -func main() { - js.Global.Set("weakPassword", func(password string, username string, email string) string { - err := common.WeakPassword(password, username, email) - if err != nil { - return err.Error() - } - return "" - }) - - js.Global.Set("renderAlert", func(asid int, path string, msg string, avatar string) string { - var buf bytes.Buffer - alertItem := alerts.AlertItem{asid, path, msg, avatar} - err := tmpl.Template_alert(alertItem, &buf) - if err != nil { - println(err.Error()) - } - return string(buf.Bytes()) - }) -} diff --git a/dev-update-linux b/dev-update-linux index c2131cf6..dce7df0e 100644 --- a/dev-update-linux +++ b/dev-update-linux @@ -28,9 +28,6 @@ go get -u github.com/bamiaux/rez echo "Updating fsnotify" go get -u github.com/fsnotify/fsnotify -echo "Updating GopherJS" -go get -u github.com/gopherjs/gopherjs/... - echo "Updating Gosora" rm ./schema/lastSchema.json cp ./schema/schema.json ./schema/lastSchema.json diff --git a/dev-update.bat b/dev-update.bat index e20c3d75..7b666ecb 100644 --- a/dev-update.bat +++ b/dev-update.bat @@ -85,13 +85,6 @@ if %errorlevel% neq 0 ( exit /b %errorlevel% ) -echo Updating GopherJS -go get -u github.com/gopherjs/gopherjs/... -if %errorlevel% neq 0 ( - pause - exit /b %errorlevel% -) - echo Updating Gosora cd schema diff --git a/experimental/new-update.bat b/experimental/new-update.bat index 8d74b45e..e5e75577 100644 --- a/experimental/new-update.bat +++ b/experimental/new-update.bat @@ -85,13 +85,6 @@ if %errorlevel% neq 0 ( exit /b %errorlevel% ) -echo Updating GopherJS -go get -u github.com/gopherjs/gopherjs/... -if %errorlevel% neq 0 ( - pause - exit /b %errorlevel% -) - echo Building the updater go generate diff --git a/install-linux b/install-linux index 39b2918d..f0fb001e 100644 --- a/install-linux +++ b/install-linux @@ -28,9 +28,6 @@ go get -u github.com/bamiaux/rez echo "Installing fsnotify" go get -u github.com/fsnotify/fsnotify -echo "Installing GopherJS" -go get -u github.com/gopherjs/gopherjs/... - echo "Building the installer" cd ./install go generate diff --git a/install.bat b/install.bat index 41f7a08b..34c22631 100644 --- a/install.bat +++ b/install.bat @@ -85,13 +85,6 @@ if %errorlevel% neq 0 ( exit /b %errorlevel% ) -echo Installing GopherJS -go get -u github.com/gopherjs/gopherjs/... -if %errorlevel% neq 0 ( - pause - exit /b %errorlevel% -) - echo Building the installer go generate diff --git a/update-deps-linux b/update-deps-linux index bc61cbf7..21d1305a 100644 --- a/update-deps-linux +++ b/update-deps-linux @@ -26,7 +26,4 @@ echo "Updating the Rez Image Resizer" go get -u github.com/bamiaux/rez echo "Updating fsnotify" -go get -u github.com/fsnotify/fsnotify - -echo "Updating GopherJS" -go get -u github.com/gopherjs/gopherjs/... \ No newline at end of file +go get -u github.com/fsnotify/fsnotify \ No newline at end of file diff --git a/update-deps.bat b/update-deps.bat index 3dd47548..510cb126 100644 --- a/update-deps.bat +++ b/update-deps.bat @@ -82,12 +82,5 @@ if %errorlevel% neq 0 ( exit /b %errorlevel% ) -echo Updating GopherJS -go get -u github.com/gopherjs/gopherjs/... -if %errorlevel% neq 0 ( - pause - exit /b %errorlevel% -) - echo The dependencies were successfully updated pause