All Downloads are FREE. Search and download functionalities are using the official Maven repository.

public.app.app.js Maven / Gradle / Ivy

Go to download

BDD Enterprise Reporting Server. This server provides the ability to upload reports from tools like Cucumber, SpecFlow, Pickles and the information is then aggregated into a central view across all projects.

The newest version!
(function() {

    String.prototype.contains = function(it) { return this.indexOf(it) != -1; };
    'use strict';

    var app = angular.module('bdd-reporting', [
        // Angular modules
        //'ngRoute',
        'ngSanitize',

        // 3rd Party Modules
        'ui.bootstrap',
        'ui.router',
        'ui.grid',
        'ui.grid.edit',
        'ui.grid.selection',
        'ui.select',
        'ngAnimate',
        'googlechart'

        //'ngStomp'
    ]);

    app.config(function($stateProvider, $urlRouterProvider, $httpProvider) {

        $httpProvider.defaults.headers.common["X-Requested-With"] = 'XMLHttpRequest';

        $urlRouterProvider.otherwise('/dashboard/');

        $stateProvider

        // HOME STATES AND NESTED VIEWS ========================================
            .state('dashboard', {
                url: '/dashboard/:property?',
                templateUrl: 'app/dashboard/dashboard.html',
                controller: 'DashboardController',
                params: {
                    property: null
                }

            })
            .state('features', {
                url: '/features',
                templateUrl: 'app/features/features.html',
                controller: 'FeaturesController'
            })
            .state('feature', {
                url: '/feature/:featureId',
                templateUrl: 'app/feature/feature.html',
                controller: 'FeatureController',
                params: {
                    featureId: null
                }
            })
        ;
    });

    app.run(['$state', function ($state) {
        // Include $route to kick start the router.
    }]);

})();




© 2015 - 2025 Weber Informatics LLC | Privacy Policy