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

io.buoyant.admin.js.main-namerd.js Maven / Gradle / Ivy

There is a newer version: 1.7.5
Show newest version
require.config({
  paths: {
    'jQuery': 'lib/jquery-3.1.1.min',
    'lodash': 'lib/lodash.min',
    'handlebars.runtime': 'lib/handlebars.runtime',
    'bootstrap': 'lib/bootstrap.min',
    'text': 'lib/text'
  },
  shim: {
    'jQuery': {
      exports: '$'
    },
    'lodash': {
      exports: '_'
    },
    'bootstrap': {
      deps : ['jQuery'],
      exports: 'Bootstrap'
    }
  }
});

require([
  'jQuery',
  'bootstrap',
  'src/dashboard_delegate',
  'src/logging'
], function ($, bootstrap, namerdDtabPlayground, loggingConfig) {
  if(window.location.pathname.indexOf("/dtab") >= 0){
    new namerdDtabPlayground();
  } else if(window.location.pathname.endsWith("/logging")){
    new loggingConfig();
  }
});




© 2015 - 2024 Weber Informatics LLC | Privacy Policy