Skip to content
Snippets Groups Projects
Commit 04fe6e25 authored by Jono Wenger's avatar Jono Wenger
Browse files

Fix formatting

parent b4153daa
No related branches found
No related tags found
1 merge request!60Revert "Fail a test to be sure it works"
...@@ -78,7 +78,6 @@ func NewCmix(_ js.Value, args []js.Value) interface{} { ...@@ -78,7 +78,6 @@ func NewCmix(_ js.Value, args []js.Value) interface{} {
err := bindings.NewCmix( err := bindings.NewCmix(
args[0].String(), args[1].String(), password, args[3].String()) args[0].String(), args[1].String(), password, args[3].String())
if err != nil { if err != nil {
Throw(TypeError, err.Error()) Throw(TypeError, err.Error())
return nil return nil
......
...@@ -43,7 +43,7 @@ func JsonToJS(src []byte) js.Value { ...@@ -43,7 +43,7 @@ func JsonToJS(src []byte) js.Value {
} }
// Throw function stub to throws Javascript exceptions. The exception must be // Throw function stub to throws Javascript exceptions. The exception must be
// one of the defined Exception below. Any other error types will result in an // one of the defined Exception below. Any other error types will result in an
// error. // error.
func Throw(exception Exception, message string) func Throw(exception Exception, message string)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment