Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var How = require("./How");
var What = require("./What");
var Product = require("./Product");
var Careers = require("./Careers");
var Job = require("./Job");
var NotFound = require("./NotFound");
var StyleguideBase = require("./styleguide/Base");
var StyleguideCaseStudy = require("./styleguide/CaseStudy");
// The eslint config below is needed for a jsx block that exists outside a
// React.CreateElement
/* eslint-disable no-unused-vars */
var React = require("react");
var Route = Router.Route;
var DefaultRoute = Router.DefaultRoute;
var NotFoundRoute = Router.NotFoundRoute;
/*eslint-enable no-unused-vars */
/* eslint-disable no-undef */
var routes = (
'use strict'
import Router from 'react-router';
import Bootstrap from 'bootstrap';
import AdminLTE from 'adminlte';
// react-router
var Route = Router.Route;
var NotFoundRoute = Router.NotFoundRoute;
var DefaultRoute = Router.DefaultRoute;
var Link = Router.Link;
var Redirect = Router.Redirect;
var RouteHandler = Router.RouteHandler;
// require stylesheets
require("bootstrap.css");
require("adminlte.css");
// require("adminlte-skins-blue.css");
require("adminlte-skins-black.css");
require("app.css");
//setup datetimepicker with moment.js
require("jquery.datetimepicker.css");
require("jquery-datetimepicker.js");
// setup jquery notify bar
'use strict';
import './app.less';
import React from 'react';
import Router from 'react-router';
import invariant from 'react/lib/invariant';
import ActionTypes from '../../flux/constants/action-types';
var DefaultRoute = Router.DefaultRoute;
var Link = Router.Link;
var Route = Router.Route;
var RouteHandler = Router.RouteHandler;
var App = React.createClass({
componentDidMount: function() { },
render() {
return (
<div>
</div>
);
}
});
var React = require('react');
var Reflux = require('reflux');
var Router = require('react-router');
var _ = require('underscore');
var Route = Router.Route;
var NotFoundRoute = Router.NotFoundRoute;
var DefaultRoute = Router.DefaultRoute;
var Link = Router.Link;
var RouteHandler = Router.RouteHandler;
var Redirect = Router.Redirect;
var Moggio = require('./moggio.js');
var Group = require('./group.js');
var List = require('./list.js');
var Playlist = require('./playlist.js');
var Protocol = require('./protocol.js');
var { Button } = require('./mdl.js');
var App = React.createClass({
mixins: [
Reflux.listenTo(Stores.error, 'error'),
var React = require('react');
var Router = require('react-router');
var Route = Router.Route;
var DefaultRoute = Router.DefaultRoute;
var NotFoundRoute = Router.NotFoundRoute;
var App = require('../components/App');
var HomeHandler = require('./HomeHandler');
var CreateClusterHandler = require('./CreateClusterHandler');
var NotFoundHandler = require('./NotFoundHandler');
var ClusterInfoHandler = require('./ClusterInfoHandler');
var ClusterMonitoringHandler = require('./ClusterMonitoringHandler');
var ClusterSlowLogHandler = require('./ClusterSlowLogHandler');
var ClusterSettingHandler = require('./ClusterSettingHandler');
var ChangeProfileHandler = require('./ChangeProfileHandler');
var UsersHandler = require('./UsersHandler');
var appRoutes = (
"use strict";
var React = require('react');
var Router = require('react-router');
var DefaultRoute = Router.DefaultRoute;
var Route = Router.Route;
var NotFoundRoute = Router.NotFoundRoute;
var Redirect = Router.Redirect;
var routes = (
/**
* @jsx React.DOM
*/
var React = require('react');
var VotingApp = require('./app');
var Main = require('./pages/Main');
var Detail = require('./pages/Detail');
var DefaultDetail = require('./pages/DefaultDetail');
var Router = require('react-router');
var Route = Router.Route;
var Routes = Router.Routes;
var DefaultRoute = Router.DefaultRoute;
var Cortex = require('./store/Cortex');
var Config = window.VotingAppConfig;
var routes = (
);
var RootComponent;
Router.run(routes, Router.HistoryLocation, function (Handler) {
RootComponent = React.render(, document.getElementById('wrap'));
var React = require("react"),
Router = require("react-router"),
Route = Router.Route,
DefaultRoute = Router.DefaultRoute;
var EmptyView = require("./components/empty_view.jsx"),
Recipe = require("./components/recipe.jsx"),
RecipeEditor = require("./components/recipe_editor.jsx"),
RecipeAdder = require("./components/recipe_adder.jsx"),
RecipeList = require("./components/recipe_list.jsx");
var routes = (
'use strict';
import React from 'react';
import Router from 'react-router';
var Route = Router.Route;
var Redirect = Router.Redirect;
var DefaultRoute = Router.DefaultRoute;
var App = require('./views/app.jsx');
var Index = require('./views/index.jsx');
var routes = (
);
export default routes;
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
import React from "react";
import FluxComponent from 'flummox/component';
import BuildHistory from './BuildHistory.jsx';
//Lazy load BuildMetrics; not used frequently
import BuildMetrics from 'react-proxy!./BuildMetrics.jsx';
import Router from 'react-router';
import Build from './build/Build.jsx';
var RouteHandler = Router.RouteHandler;
var DefaultRoute = Router.DefaultRoute;
var Route = Router.Route;
var JobWidgets = React.createClass({
contextTypes: {
router: React.PropTypes.func
},
render(){
let widget = this.context.router.getCurrentParams().widget;
let widgetParam = this.context.router.getCurrentParams().param;
return this._widget(widget,widgetParam);
},
_widget(_widget,widgetParam){
let widget = _widget || "dotCIbuildHistory";
if(widget === 'dotCIbuildHistory'){
return
}
if(widget === 'dotCIbuildMetrics'){