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
// Asura (CustomerController.js) | |
static async postCustomerWithMagic(ctx, next) { | |
// .. something something | |
} else if (primary_id_type === 'customerId') { | |
let { isActive, isProvisioned } = await api.classify(primary_id, primary_id_type); | |
if (!isActive && !isProvisioned) { | |
await api.provision(customer.id, 'spAccountId', customer.sku, effectiveDate, primary_id); | |
} | |
} else { |
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 React = require('react'); | |
var Router = require('react-router'); | |
var Link = Router.Link; | |
var ReactPropTypes = React.PropTypes; | |
var ProductStore = require('../../stores/ProductStore.react.jsx') | |
var ErrorNotice = require('../../components/common/ErrorNotice.react.jsx'); | |
var ProductActionCreators = require('../../actions/ProductActionCreators.react.jsx'); | |
var AuthenticatedMixin = require('../../components/common/AuthenticatedMixin.react.jsx'); | |
var ReactInfinity = require('react-infinity'); |
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
<body class="error-body no-top breakpoint-480 pace-done"> | |
<div class="pace pace-inactive"> | |
<div class="pace-progress" data-progress-text="100%" data-progress="99" style="-webkit-transform: translate3d(100%, 0px, 0px); transform: translate3d(100%, 0px, 0px);"> | |
<div class="pace-progress-inner"></div> | |
</div> | |
<div class="pace-activity"></div> | |
</div> | |
<header class="product-header"> | |
<div class="pull-left logo-container"> | |
<!-- BEGIN LOGO--> |
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
user www; | |
worker_processes 1; | |
error_log /var/log/nginx/error.log; | |
pid /usr/local/etc/nginx/nginx.pid; | |
events { | |
worker_connections 1024; | |
} |
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 from 'react/addons'; | |
import ReactMixin from 'react-mixin'; | |
import ReactScriptLoaderMixin from 'react-script-loader'; | |
export default class LoginForm extends React.Component { | |
constructor() { | |
super(); | |
this.state = { | |
user: '', | |
password: '', |
NewerOlder