This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){ | |
var reviewsLoaded = false | |
var PLUGIN_HOST = 'https://s3.amazonaws.com/plugin-dev.innovareviews.com' | |
var DATA_HOST = 'http://localhost:8000' | |
function forEach(array, callback, scope) { | |
for (var i = 0; i < array.length; i++) { | |
callback.call(scope, i, array[i]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component, PropTypes } from 'react'; | |
import ReleaseItem from "../ReleaseItem/ReleaseItem"; | |
class LatestReleases extends Component { | |
constructor(props){ | |
super(props); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component, PropTypes } from 'react'; | |
import ReleaseItem from "../ReleaseItem/ReleaseItem"; | |
class LatestReleases extends Component { | |
constructor(props){ | |
super(props); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var path = require("path"), | |
webpack = require("webpack"), | |
merge = require("merge"), | |
config = require("./config/config"), | |
ExtractTextPlugin = require("extract-text-webpack-plugin"); | |
var webpackConfig = { | |
output: { | |
path: path.join(__dirname, "dist"), | |
filename: "bundle.js", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import express from 'express'; | |
import config from '../../config/config'; | |
let accessLogger = require("../../config/logs")(config); | |
import appVersion from '../../config/version'; | |
import webpack from 'webpack'; | |
import webpackConfig from '../../webpack.config'; | |
import webpackDevMiddleware from 'webpack-dev-middleware'; | |
import webpackHotMiddleware from 'webpack-hot-middleware'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dom-module name="growth-template"> | |
<link rel="import" type="css" href="growth-template.css"> | |
<template> | |
<growth-message hidden id="message" hide-after="2500" text="{{ message.text }}" type="[[ message.type ]]"></growth-message> | |
<div class="sticky-header"> | |
<growth-toolbar id="toolbar"> | |
<div class="left"> | |
<div id="logo" class="logo logo--icon toolbar-logo" on-click="_handleHomeClick"></div> | |
</div> | |
<div class="right"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Parent component which repeats a list style component (growth-units) | |
// If I observe "this.qualificationsList" I can see it updating when I add to it | |
// These updates do not seem to be passed down into "qual.units" for each repeated instance | |
<dom-module name="growth-template"> | |
<template> | |
<template is="dom-repeat" items="[[ qualificationsList ]]" as="qual"> | |
<growth-units | |
units="[[ qual.units ]]"> | |
</growth-units> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO [2016-03-10 20:37:18,892] [au.com.growth.admin.AdminApplication.main()] org.eclipse.jetty.server.ServerConnector: Stopped application@1b619c9{HTTP/1.1}{0.0.0.0:8080} | |
INFO [2016-03-10 20:37:18,893] [au.com.growth.admin.AdminApplication.main()] org.eclipse.jetty.server.ServerConnector: Stopped application@49daae3e{SSL-HTTP/1.1}{0.0.0.0:8443} | |
INFO [2016-03-10 20:37:18,894] [au.com.growth.admin.AdminApplication.main()] org.eclipse.jetty.server.ServerConnector: Stopped admin@60e7c39e{HTTP/1.1}{0.0.0.0:8081} | |
INFO [2016-03-10 20:37:18,894] [au.com.growth.admin.AdminApplication.main()] org.eclipse.jetty.server.ServerConnector: Stopped admin@23fd5fc{SSL-HTTP/1.1}{0.0.0.0:8444} | |
[WARNING] | |
java.lang.reflect.InvocationTargetException | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.j |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var edits = [ | |
{ | |
name: "Nginx Example", | |
lists: [ | |
{ | |
name: "List 1" | |
rules: [ | |
{ | |
value: "Value 1" | |
label: "Label 1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
var React = require("react"); | |
var ReactDOM = require("react-dom"); | |
var Conductr = React.createFactory(require("./components/Conductr/Conductr").Conductr); //eslint-disable-line no-unused-vars | |
var mountNode = document.getElementById("react-main-mount"); | |
if(process.env.NODE_ENV === "dev") { | |
ReactDOM.render(<Conductr url="http://localhost:4302/environments" />, mountNode); |