OSDN Git Service

fx Manifest
[pettanr/pettanr.git] / app / assets / javascripts / manifest / work / lists.js.coffee.erb
index 9701afd..99ef80c 100644 (file)
@@ -1,39 +1,35 @@
 #マニフェスト\r
 @lists = {\r
   scroll: {\r
-    default_page_size: 25, \r
-    max_page_size: 100, \r
-    lists: {\r
-      public_list: {\r
-        type: 'public',\r
-      },\r
-      private_list: {\r
-        type: 'private',\r
-      },\r
-      scroll_panels: {\r
-        type: 'has_many',\r
-        association_name: 'scroll_panels',\r
-      },\r
-      panels: {\r
-        type: 'has_many_through',\r
-        association_name: 'panels',\r
-      },\r
-      by_author: {\r
-        type: 'filter',\r
-        from: 'author',\r
-        filter_key: 'author_id',\r
-      },\r
-      by_panel: {\r
-        type: 'through_filter',\r
-        from: 'panel',\r
-        through: 'scroll_panels',\r
-        filter_key: 'panel_id',\r
-      },\r
-      play: {\r
-        type: 'play',\r
-        model: 'scroll_panel',\r
-        filter_key: 'scroll_id',\r
-      },\r
+    public_list: {\r
+      type: 'public',\r
+    },\r
+    private_list: {\r
+      type: 'private',\r
+    },\r
+    scroll_panels: {\r
+      type: 'has_many',\r
+      association_name: 'scroll_panels',\r
+    },\r
+    panels: {\r
+      type: 'has_many_through',\r
+      association_name: 'panels',\r
+    },\r
+    by_author: {\r
+      type: 'filter',\r
+      from: 'author',\r
+      filter_key: 'author_id',\r
+    },\r
+    by_panel: {\r
+      type: 'through_filter',\r
+      from: 'panel',\r
+      through: 'scroll_panels',\r
+      filter_key: 'panel_id',\r
+    },\r
+    play: {\r
+      type: 'play',\r
+      model: 'scroll_panel',\r
+      filter_key: 'scroll_id',\r
     },\r
   },\r
   scroll_panel: {\r