OLD | NEW |
(Empty) | |
| 1 // This file is used for development only. In order to use it you should call |
| 2 // the "make debug" command. This command passes the "debug" argument to the |
| 3 // "lib/server.js". |
| 4 var GlobalConfig = { |
| 5 filter: 'debug', |
| 6 // Set "true" for verbose logging of YUI |
| 7 debug: false, |
| 8 |
| 9 // Use Rollups |
| 10 combine: false, |
| 11 |
| 12 groups: { |
| 13 d3: { |
| 14 modules: { |
| 15 'd3': { |
| 16 'fullpath': '/juju-ui/assets/javascripts/d3.v2.min.js' |
| 17 }, |
| 18 'd3-components': { |
| 19 fullpath: '/juju-ui/assets/javascripts/d3-components.js' |
| 20 } |
| 21 } |
| 22 }, |
| 23 juju: { |
| 24 modules: { |
| 25 // Primitives |
| 26 |
| 27 'notifier': { |
| 28 fullpath: '/juju-ui/widgets/notifier.js' |
| 29 }, |
| 30 |
| 31 'svg-layouts': { |
| 32 fullpath: '/juju-ui/assets/javascripts/svg-layouts.js' |
| 33 }, |
| 34 |
| 35 'reconnecting-websocket': { |
| 36 fullpath: '/juju-ui/assets/javascripts/reconnecting-websocket.js' |
| 37 }, |
| 38 |
| 39 // Views |
| 40 'juju-topology-relation': { |
| 41 fullpath: '/juju-ui/views/topology/relation.js' |
| 42 }, |
| 43 |
| 44 'juju-topology-panzoom': { |
| 45 fullpath: '/juju-ui/views/topology/panzoom.js' |
| 46 }, |
| 47 |
| 48 'juju-topology-viewport': { |
| 49 fullpath: '/juju-ui/views/topology/viewport.js' |
| 50 }, |
| 51 |
| 52 'juju-topology-service': { |
| 53 fullpath: '/juju-ui/views/topology/service.js' |
| 54 }, |
| 55 |
| 56 'juju-topology': { |
| 57 fullpath: '/juju-ui/views/topology/topology.js', |
| 58 require: [ |
| 59 'juju-topology-service', |
| 60 'juju-topology-relation', |
| 61 'juju-topology-panzoom', |
| 62 'juju-topology-viewport' |
| 63 ] |
| 64 }, |
| 65 |
| 66 'juju-view-utils': { |
| 67 fullpath: '/juju-ui/views/utils.js' |
| 68 }, |
| 69 |
| 70 'juju-charm-panel': { |
| 71 fullpath: '/juju-ui/views/charm-panel.js' |
| 72 }, |
| 73 |
| 74 'juju-notifications': { |
| 75 fullpath: '/juju-ui/views/notifications.js' |
| 76 }, |
| 77 |
| 78 'juju-view-environment': { |
| 79 fullpath: '/juju-ui/views/environment.js' |
| 80 }, |
| 81 |
| 82 'juju-view-service': { |
| 83 fullpath: '/juju-ui/views/service.js' |
| 84 }, |
| 85 |
| 86 'juju-view-unit': { |
| 87 fullpath: '/juju-ui/views/unit.js' |
| 88 }, |
| 89 |
| 90 'juju-view-charm-collection': { |
| 91 fullpath: '/juju-ui/views/charm.js' |
| 92 }, |
| 93 |
| 94 'juju-view-charm': { |
| 95 fullpath: '/juju-ui/views/charm.js' |
| 96 }, |
| 97 |
| 98 'juju-templates': { |
| 99 fullpath: '/juju-ui/templates.js' |
| 100 }, |
| 101 |
| 102 'juju-views': { |
| 103 use: [ |
| 104 'd3-components', |
| 105 'juju-templates', |
| 106 'juju-notifications', |
| 107 'juju-view-utils', |
| 108 'juju-topology', |
| 109 'juju-view-environment', |
| 110 'juju-view-service', |
| 111 'juju-view-unit', |
| 112 'juju-view-charm', |
| 113 'juju-view-charm-collection' |
| 114 ] |
| 115 }, |
| 116 |
| 117 // Models |
| 118 'juju-endpoints': { |
| 119 fullpath: '/juju-ui/models/endpoints.js' |
| 120 }, |
| 121 |
| 122 'juju-charm-models': { |
| 123 requires: ['juju-charm-id'], |
| 124 fullpath: '/juju-ui/models/charm.js' |
| 125 }, |
| 126 |
| 127 'juju-models': { |
| 128 requires: [ |
| 129 'model', 'model-list', 'juju-endpoints', 'juju-charm-models'], |
| 130 fullpath: '/juju-ui/models/models.js' |
| 131 }, |
| 132 |
| 133 // Connectivity |
| 134 'juju-env': { |
| 135 requires: ['reconnecting-websocket'], |
| 136 fullpath: '/juju-ui/store/env.js' |
| 137 }, |
| 138 |
| 139 'juju-notification-controller': { |
| 140 fullpath: '/juju-ui/store/notifications.js' |
| 141 }, |
| 142 |
| 143 'juju-charm-store': { |
| 144 requires: ['juju-charm-id'], |
| 145 fullpath: '/juju-ui/store/charm.js' |
| 146 }, |
| 147 |
| 148 'juju-controllers': { |
| 149 use: ['juju-env', 'juju-charm-store', |
| 150 'juju-notification-controller'] |
| 151 }, |
| 152 |
| 153 // App |
| 154 'juju-gui': { |
| 155 fullpath: '/juju-ui/app.js', |
| 156 requires: [ |
| 157 'juju-controllers', |
| 158 'juju-views', |
| 159 'juju-models', |
| 160 'juju-view-charm-search' |
| 161 ] |
| 162 } |
| 163 } |
| 164 } |
| 165 } |
| 166 }; |
OLD | NEW |