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
fix summary
[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
84aa33b
..
1a86e4a
100644
(file)
--- a/
app/assets/javascripts/models/panel_picture.js.coffee
+++ b/
app/assets/javascripts/models/panel_picture.js.coffee
@@
-14,6
+14,9
@@
class Pettanr.PanelPicture extends Peta.Element
picture: () ->
\r
new Pettanr.Picture({id: @get('picture_id')})
\r
\r
+ panel: () ->
\r
+ new Pettanr.Panel({id: @get('panel_id')})
\r
+
\r
@has_picture: () ->
\r
true
\r
\r