OSDN Git Service

fix summary
[pettanr/pettanr.git] / app / assets / javascripts / views / common.js.coffee
index a283bdf..6e6b1cb 100644 (file)
@@ -17,6 +17,14 @@ class Pettanr.Views.Common.LoadIcon extends Tag.Img
     }\r
     super(opt)\r
 \r
+class Pettanr.Views.Common.EmptyCaption extends Backbone.View\r
+  tagName: 'div'\r
+  className: 'empty'\r
+  \r
+  render: () ->\r
+    this.$el.html('empty')\r
+    this\r
+  \r
 class Pettanr.Views.Common.Icon extends Backbone.View\r
   tagName: 'span'\r
   \r