X-Git-Url: http://git.osdn.net/view?p=pettanr%2Fpettanr.git;a=blobdiff_plain;f=app%2Fassets%2Fjavascripts%2Fsystem.js.coffee;h=bcccf83658678d6adc8c721ed56bbae9a8d7a70c;hp=761567942fc20b22ba68ce6b5f46652cf63c48c0;hb=9edc3731389bcae0de05ef6045cceb6b7581cc8f;hpb=fff244784232225332e0beecdc655d9ded12e2d9 diff --git a/app/assets/javascripts/system.js.coffee b/app/assets/javascripts/system.js.coffee index 76156794..bcccf836 100644 --- a/app/assets/javascripts/system.js.coffee +++ b/app/assets/javascripts/system.js.coffee @@ -1,3 +1,20 @@ -# Place all the behaviors and hooks related to the matching controller here. -# All this logic will automatically be available in application.js. -# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ +$ -> + manifest = { + inflectors: window.inflectors, + items: window.items, + controllers: window.controllers, + models: window.models, + system_resources: window.system_resources, + magic_numbers: window.magic_numbers, + } + local_manifest = { + list_groups: window.list_groups, + profilers: window.profilers, + filers: window.filers, + forms: window.forms, + buckets: window.buckets, + } + j = JSON.stringify(manifest, undefined, 2) + $('#pettanr-manifest').val(j) + j = JSON.stringify(local_manifest, undefined, 2) + $('#pettanr-local_manifest').val(j)