Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
#504 attempt to use leaner meaner includes to try reduce individual f…
…ile compile time and fix up some red squigglies in IDEA 13
  • Loading branch information
jstrachan committed Nov 15, 2013
1 parent 82e4234 commit bf2d9ad
Show file tree
Hide file tree
Showing 40 changed files with 62 additions and 44 deletions.
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>
/// <reference path='helpers.ts'/>

module ActiveMQ {
Expand Down
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/api/js/apiPlugin.ts
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>
/// <reference path='helpers.ts'/>
/// <reference path='../../ui/js/uiPlugin.ts'/>
module API {
Expand Down
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/apollo/js/apolloPlugin.ts
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>
module Apollo {
var pluginName = 'apollo';
angular.
Expand Down
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>

module Branding {

Expand Down
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>
/// <reference path='gantt.ts'/>
/// <reference path='diagram.ts'/>
/// <reference path='sequence.ts'/>
Expand Down
@@ -1,4 +1,10 @@
///<reference path='corePlugin.ts'/>
/// <reference path='../../definitions/DefinitelyTyped/angularjs/angular.d.ts'/>
/// <reference path='../../definitions/DefinitelyTyped/jquery/jquery.d.ts'/>
/// <reference path='../../definitions/jolokia-1.0.d.ts'/>
/// <reference path='../../definitions/logger.d.ts'/>
/// <reference path='../../definitions/sugar-1.3.d.ts'/>
/// <reference path='folder.ts'/>
/// <reference path='workspace.ts'/>

var logQueryMBean = 'org.fusesource.insight:type=LogQuery';

Expand Down
4 changes: 2 additions & 2 deletions hawtio-web/src/main/webapp/app/core/js/corePlugin.ts
@@ -1,12 +1,12 @@
/// <reference path='../../definitions/libraries.d.ts'/>
/// <reference path='pageTitle.ts'/>
/// <reference path='workspace.ts'/>
/// <reference path='helpers.ts'/>
/// <reference path='coreHelpers.ts'/>
/// <reference path='CodeEditor.ts'/>
/// <reference path='helpRegistry.ts'/>
/// <reference path='gridStyleDirective.ts'/>
/// <reference path='folder.ts'/>
/// <reference path='helpers.ts'/>
/// <reference path='coreHelpers.ts'/>
/// <reference path='dialog.ts'/>
/// <reference path='tables.ts'/>
/// <reference path='graphs.ts'/>
Expand Down
7 changes: 6 additions & 1 deletion hawtio-web/src/main/webapp/app/core/js/folder.ts
@@ -1,4 +1,9 @@
/// <reference path='corePlugin.ts'/>
/// <reference path='../../definitions/DefinitelyTyped/angularjs/angular.d.ts'/>
/// <reference path='../../definitions/DefinitelyTyped/jquery/jquery.d.ts'/>
/// <reference path='../../definitions/logger.d.ts'/>
/// <reference path='../../definitions/sugar-1.3.d.ts'/>
/// <reference path='coreHelpers.ts'/>

// Lets use a NodeSelection interface so we can expose things like the objectName and the MBean's entries
interface NodeSelection {
title: string;
Expand Down
8 changes: 7 additions & 1 deletion hawtio-web/src/main/webapp/app/core/js/workspace.ts
@@ -1,4 +1,10 @@
/// <reference path='corePlugin.ts'/>
/// <reference path='../../definitions/DefinitelyTyped/angularjs/angular.d.ts'/>
/// <reference path='../../definitions/DefinitelyTyped/jquery/jquery.d.ts'/>
/// <reference path='../../definitions/jolokia-1.0.d.ts'/>
/// <reference path='../../definitions/logger.d.ts'/>
/// <reference path='../../definitions/sugar-1.3.d.ts'/>
/// <reference path='coreHelpers.ts'/>
/// <reference path='folder.ts'/>

interface MenuItem {
content: string;
Expand Down
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>
/// <reference path='helpers.ts'/>
/// <reference path='dashboardRepository.ts'/>
/// <reference path='fabricDashboardRepository.ts'/>
Expand Down
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>
module DataTable {
var pluginName = 'datatable';
angular.module(pluginName, ['bootstrap', 'ngResource', 'hawtioCore']).
Expand Down
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/dozer/js/dozerPlugin.ts
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>
/// <Reference path='helpers.ts'/>
/// <reference path='schemaConfigure.ts'/>
/// <reference path='model.ts'/>
Expand Down
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>
/// <reference path='helpers.ts'/>
/// <reference path='config.ts'/>

Expand Down
9 changes: 6 additions & 3 deletions hawtio-web/src/main/webapp/app/fabric/js/apis.ts
@@ -1,4 +1,8 @@
/// <reference path='fabricPlugin.ts'/>
/// <reference path='../../definitions/DefinitelyTyped/angularjs/angular.d.ts'/>
/// <reference path='../../definitions/logger.d.ts'/>
/// <reference path='helpers.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>

module Fabric {

export function FabricApisController($scope, localStorage, $routeParams, $location, jolokia, workspace, $compile, $templateCache) {
Expand Down Expand Up @@ -71,8 +75,7 @@ module Fabric {
$scope.responseJson = responseJson;

try {
log.info("got cluster stuff3");
//console.log("got JSON: " + responseJson);
log.info("got json: " + responseJson);
var json = JSON.parse(responseJson);
$scope.apis = [];
createFlatList($scope.apis, json);
Expand Down
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/fabric/js/fabricPlugin.ts
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>
/// <reference path='versionSelectorDirective.ts'/>
/// <reference path='helpers.ts'/>
/// <reference path='schemaConfigure.ts'/>
Expand Down
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>
/// <reference path='forceGraphDirective.ts'/>
/// <reference path='graphBuilder.ts'/>
module ForceGraph {
Expand Down
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/forms/js/formPlugin.ts
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>
/// <reference path='helpers.ts'/>
/// <reference path='simpleFormDirective.ts'/>
/// <reference path='baseDirectives.ts'/>
Expand Down
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/git/js/gitPlugin.ts
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>
/// <reference path='helpers.ts'/>
/// <reference path='git.ts'/>

2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/health/js/healthPlugin.ts
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>
/// <reference path='helpers.ts'/>

module Health {
Expand Down
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>
/// <reference path='helpers.ts'/>
/// <reference path='cli.ts'/>
module Infinispan {
Expand Down
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/insight/js/insightPlugin.ts
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>
/// <reference path='helper.ts'/>

module Insight {
Expand Down
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/jboss/js/jbossPlugin.ts
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>
/// <reference path='helpers.ts'/>

module JBoss {
Expand Down
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/jclouds/js/jcloudsPlugin.ts
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>
/// <reference path='helpers.ts'/>
module Jclouds {
var pluginName = 'jclouds';
Expand Down
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/jetty/js/jettyPlugin.ts
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>
/// <reference path='helpers.ts'/>
module Jetty {
var pluginName = 'jetty';
Expand Down
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/jmx/js/areaChart.ts
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/helpers.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>

module Jmx {

Expand Down
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/jmx/js/helpers.ts
@@ -1,6 +1,6 @@
/// <reference path='../../definitions/libraries.d.ts'/>
/// <reference path='../../core/js/folder.ts'/>
/// <reference path='../../core/js/helpers.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>
/// <reference path='../../core/js/workspace.ts'/>

module Jmx {
Expand Down
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/jmx/js/jmxPlugin.ts
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>
/// <reference path='helpers.ts'/>
/// <reference path='widgetRepository.ts'/>
/// <reference path='../../camel/js/camelPlugin.ts'/>
Expand Down
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/jvm/js/jvmPlugin.ts
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>
/// <reference path='helpers.ts'/>

module Jvm {
Expand Down
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/karaf/js/karafPlugin.ts
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>
/// <reference path='helpers.ts'/>
/// <reference path='../../osgi/js/osgiPlugin.ts'/>
module Karaf {
Expand Down
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/log/js/logPlugin.ts
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>
/// <reference path='helpers.ts'/>
/// <reference path='../../maven/js/mavenPlugin.ts'/>
/// <reference path='../../branding/js/brandingPlugin.ts'/>
Expand Down
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/maven/js/mavenPlugin.ts
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>
/// <reference path='helpers.ts'/>
module Maven {
var pluginName = 'maven';
Expand Down
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/openejb/js/openejbPlugin.ts
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>
module OpenEJB {
var pluginName = 'openejb';
angular.module(pluginName, ['bootstrap', 'ngResource', 'hawtioCore']).config(($routeProvider) => {
Expand Down
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/osgi/js/osgiPlugin.ts
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>
/// <reference path='osgiData.ts'/>
/// <reference path='helpers.ts'/>
/// <reference path='osgiGrapBuilder.ts'/>
Expand Down
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>
/// <reference path='defaultPage.ts'/>
/// <reference path='helpers.ts'/>
/// <reference path='metadata.ts'/>
Expand Down
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/source/js/sourcePlugin.ts
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>
/// <reference path='../../wiki/js/wikiPlugin.ts'/>
/// <reference path='helpers.ts'/>

Expand Down
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/tomcat/js/tomcatPlugin.ts
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>
/// <reference path='helpers.ts'/>

module Tomcat {
Expand Down
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/tree/js/treePlugin.ts
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>

module Tree {
var pluginName = 'tree';
Expand Down
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/ui/js/uiPlugin.ts
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>
/// <reference path='helpers.ts'/>
/// <reference path='autoColumns.ts'/>
/// <reference path='autoDropDown.ts'/>
Expand Down
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/wiki/js/wikiPlugin.ts
@@ -1,4 +1,4 @@
/// <reference path='../../core/js/corePlugin.ts'/>
/// <reference path='../../core/js/coreHelpers.ts'/>
/// <reference path='helpers.ts'/>
/// <reference path='wikiRepository.ts'/>
/// <reference path='../../git/js/gitPlugin.ts'/>
Expand Down
2 changes: 0 additions & 2 deletions hawtio-web/watchTs

This file was deleted.

0 comments on commit bf2d9ad

Please sign in to comment.