OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
pull
[pettanr/pettanr.git]
/
app
/
assets
/
javascripts
/
locmare
/
form
/
field
/
tag
/
text.js.coffee
1
class Locmare.FormModule.FieldModule.TagModule.TextTag extends Locmare.FormModule.FieldModule.TagModule.Base
\r
2
tagName: 'input'
\r
3
events: {
\r
4
'change': 'change'
\r
5
}
\r
6
\r
7
render: () ->
\r
8
this.$el.html('')
\r
9
this.$el.attr(@attr())
\r
10
this.$el.val(@value())
\r
11
this
\r
12
\r
13
change: () ->
\r
14
@field.trigger('change')
\r
15
\r