Skip to content

Commit

Permalink
Harmonization of DC xxButton
Browse files Browse the repository at this point in the history
  • Loading branch information
abrudz committed Oct 9, 2016
1 parent fc75824 commit 8ffa107
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
7 changes: 4 additions & 3 deletions HTML/_DC/Button.dyalog
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,20 @@
:Access public
:Implements constructor
type'button'
Content'OK'

Make args;n;v
Make args
:Access public
:Implements constructor
argseis(~0args)args
(Content name value attrs)args defaultArgs'Okay'UNDEF UNDEF''
(Content name value attrs)args defaultArgs'OK'UNDEF UNDEF''
type'button'

rRender
:Access public
SetId
SetInputName
r⎕BASE.Render

Expand Down
5 changes: 3 additions & 2 deletions HTML/_DC/ResetButton.dyalog
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
:Access public
:Implements constructor
type'reset'
Content'Reset'

Make args;n;v
Make args
:Access public
:Implements constructor
argseis(~0args)args
Expand All @@ -22,7 +23,7 @@
type'reset'

rRender;⎕TRAP
rRender
:Access public
SetInputName
r⎕BASE.Render
Expand Down
5 changes: 3 additions & 2 deletions HTML/_DC/SubmitButton.dyalog
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
:Access public
:Implements constructor
type'submit'
Content'Submit'

Make args;n;v
Make args
:Access public
:Implements constructor
argseis(~0args)args
Expand All @@ -27,4 +28,4 @@
r⎕BASE.Render

:endclass
:endclass

0 comments on commit 8ffa107

Please sign in to comment.