Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(35)

Unified Diff: app/modules-debug.js

Issue 6821090: Resource minification/aggregation js
Patch Set: Resource minification/aggregation js Created 12 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « app/modules.js ('k') | bin/merge-files » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/modules-debug.js
=== added file 'app/modules-debug.js'
--- app/modules-debug.js 1970-01-01 00:00:00 +0000
+++ app/modules-debug.js 2012-11-09 15:37:08 +0000
@@ -0,0 +1,131 @@
+// This file is used for development only. In order to use it you should call
+// the "make debug" command. This command passes the "debug" argument to the
+// "lib/server.js".
+GlobalConfig = {
+ filter: 'debug',
+ // Set "true" for verbose logging of YUI
+ debug: false,
+
+ // Use Rollups
+ combine: false,
+
+ groups: {
+ d3: {
+ modules: {
+ 'd3': {
+ 'fullpath': '/juju-ui/assets/javascripts/d3.v2.min.js'
+ }
+ }
+ },
+ juju: {
+ modules: {
+ // Primitives
+
+ 'svg-layouts': {
+ fullpath: '/juju-ui/assets/javascripts/svg-layouts.js'
+ },
+
+ 'reconnecting-websocket': {
+ fullpath: '/juju-ui/assets/javascripts/reconnecting-websocket.js'
+ },
+
+ // Views
+ 'juju-view-utils': {
+ fullpath: '/juju-ui/views/utils.js'
+ },
+
+ 'juju-charm-panel': {
+ fullpath: '/juju-ui/views/charm-panel.js'
+ },
+
+ 'juju-notifications': {
+ fullpath: '/juju-ui/views/notifications.js'
+ },
+
+ 'juju-view-environment': {
+ fullpath: '/juju-ui/views/environment.js'
+ },
+
+ 'juju-view-service': {
+ fullpath: '/juju-ui/views/service.js'
+ },
+
+ 'juju-view-unit': {
+ fullpath: '/juju-ui/views/unit.js'
+ },
+
+ 'juju-view-charm-collection': {
+ fullpath: '/juju-ui/views/charm.js'
+ },
+
+ 'juju-view-charm': {
+ fullpath: '/juju-ui/views/charm.js'
+ },
+
+ 'juju-templates': {
+ fullpath: '/juju-ui/templates.js'
+ },
+
+ 'juju-views': {
+ use: [
+ 'juju-templates',
+ 'juju-notifications',
+ 'juju-view-utils',
+ 'juju-view-environment',
+ 'juju-view-service',
+ 'juju-view-unit',
+ 'juju-view-charm',
+ 'juju-view-charm-collection'
+ ]
+ },
+
+ // Models
+ 'juju-endpoints': {
+ fullpath: '/juju-ui/models/endpoints.js'
+ },
+
+ 'juju-charm-models': {
+ requires: ['juju-charm-id'],
+ fullpath: '/juju-ui/models/charm.js'
+ },
+
+ 'juju-models': {
+ requires: [
+ 'model', 'model-list', 'juju-endpoints', 'juju-charm-models'],
+ fullpath: '/juju-ui/models/models.js'
+ },
+
+ // Connectivity
+ 'juju-env': {
+ requires: ['reconnecting-websocket'],
+ fullpath: '/juju-ui/store/env.js'
+ },
+
+ 'juju-notification-controller': {
+ fullpath: '/juju-ui/store/notifications.js'
+ },
+
+ 'juju-charm-store': {
+ requires: ['juju-charm-id'],
+ fullpath: '/juju-ui/store/charm.js'
+ },
+
+ 'juju-controllers': {
+ use: ['juju-env', 'juju-charm-store',
+ 'juju-notification-controller']
+ },
+
+ // App
+ 'juju-gui': {
+ fullpath: '/juju-ui/app.js',
+ requires: [
+ 'juju-controllers',
+ 'juju-views',
+ 'juju-models',
+ 'juju-view-charm-search'
+ ]
+ }
+ }
+ }
+ }
+};
« no previous file with comments | « app/modules.js ('k') | bin/merge-files » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b