OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clean
[pettanr/pettanr.git]
/
app
/
assets
/
javascripts
/
models
/
panel_picture.js.coffee
diff --git
a/app/assets/javascripts/models/panel_picture.js.coffee
b/app/assets/javascripts/models/panel_picture.js.coffee
index
3c3003d
..
8547958
100644
(file)
--- a/
app/assets/javascripts/models/panel_picture.js.coffee
+++ b/
app/assets/javascripts/models/panel_picture.js.coffee
@@
-51,9
+51,8
@@
class Pettanr.PanelPicture extends Peta.Element
\r
symbol_option: (cb) ->
\r
i = @picture()
\r
\r
symbol_option: (cb) ->
\r
i = @picture()
\r
- _this = this
\r
- i.fetch({cache: true}).done ->
\r
- cb(_this.tmb_opt_img_tag(i))
\r
+ i.fetch({cache: true}).done =>
\r
+ cb(@tmb_opt_img_tag(i))
\r
\r
element_face: () ->
\r
new Pettanr.Views.PanelPicture.ElementFace({element: this})
\r
\r
element_face: () ->
\r
new Pettanr.Views.PanelPicture.ElementFace({element: this})
\r