OSDN Git Service

fix: fetch fail
[pettanr/pettanr.git] / app / assets / javascripts / system.js.coffee
index 94e77c0..bcccf83 100644 (file)
@@ -1,15 +1,20 @@
 $ ->\r
-  configurations =  {\r
+  manifest =  {\r
+    inflectors: window.inflectors,\r
+    items: window.items,\r
     controllers: window.controllers,\r
     models: window.models,\r
     system_resources: window.system_resources,\r
     magic_numbers: window.magic_numbers,\r
-    locals: {\r
-      list_groups: window.list_groups,\r
-      profilers: window.profilers,\r
-      filers: window.filers,\r
-      forms: window.forms,\r
-    }\r
   }\r
-  j = JSON.stringify(configurations, undefined, 2)\r
-  $('#pettanr-configurations').val(j)\r
+  local_manifest =  {\r
+    list_groups: window.list_groups,\r
+    profilers: window.profilers,\r
+    filers: window.filers,\r
+    forms: window.forms,\r
+    buckets: window.buckets,\r
+  }\r
+  j = JSON.stringify(manifest, undefined, 2)\r
+  $('#pettanr-manifest').val(j)\r
+  j = JSON.stringify(local_manifest, undefined, 2)\r
+  $('#pettanr-local_manifest').val(j)\r