Skip to content

Commit

Permalink
Merge pull request #10 from webability-go/late-night
Browse files Browse the repository at this point in the history
patch v0.0.9
  • Loading branch information
metalwolf committed Apr 9, 2020
2 parents fb3b516 + d1edf0f commit 99882be
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -20,6 +20,10 @@ TO DO:
Version Changes Control
=======================

v0.0.9 - 2020-03-08
------------------------
- Correction of event node so code is into code node.

v0.0.8 - 2020-03-08
------------------------
- Correction of all the Types of containers and elements to put correct js library name (nameContainer and nameElement syntax)
Expand Down
8 changes: 5 additions & 3 deletions event.go
Expand Up @@ -2,10 +2,12 @@ package wajaf

type Event NodeDef

func NewEvent(name string, value string) Event {
func NewEvent(etype string, code string) Event {

e := NewNode("event", name)
e.SetData(value)
e := NewNode("event", etype)
c := NewNode("code", "")
c.SetData(code)
e.AddChild(c)

return e
}
2 changes: 1 addition & 1 deletion wajaf.go
Expand Up @@ -7,7 +7,7 @@
package wajaf

// VERSION is the used version nombre of the XCore library.
const VERSION = "0.0.8"
const VERSION = "0.0.9"

// LOG is the flag to activate logging on the library.
// if LOG is set to TRUE, LOG indicates to the XCore libraries to log a trace of functions called, with most important parameters.
Expand Down

0 comments on commit 99882be

Please sign in to comment.