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 encodeObject = function (obj) { | |
if (Object.keys(obj).length) { | |
return Ext.JSON.encode(obj); | |
} | |
return null; | |
}, | |
instructionsSaved = false, | |
emailsSaved = false; | |
/** |
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 Tree = React.createClass({ | |
getDefaultProps: function() { return { value : {} } }, | |
getInitialState : function() { return { style : '' } }, | |
componentDidMount: function() { | |
this.setState({ selected : this.props.value }) | |
}, | |
selectQuestion : function(ev) { | |
this.setState({ selected : ev.target.value }); | |
this.props.selectQuestion(ev.target.value, ev.target.type); | |
}, |
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
https://www.ispringsolutions.com/ispring-pro/thanks-for-download.html?sn=60G90-10H16-41168-HQ0X1-224G1-NPXA1-W66PH-7N82D-9J003-7DEN4 |
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
<div class="container" style="margin-top:5px"> | |
<div class="row"> | |
<div class="col-sm-offset-1 col-sm-10 bleach"> | |
</div> | |
</div> | |
</div> |
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 webpack = require('webpack'); | |
var commonsPlugin = new webpack.optimize.CommonsChunkPlugin('common.js'); | |
module.exports = { | |
entry: { | |
Alerts: './webroot/js/src/alerts.js' | |
}, | |
output: { | |
path: './webroot/js/build/', |
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
$return['id_full'] = substr($return['last_name'],0,1) . $return['id_number']; | |
foreach($return as $k => $v) { | |
if(empty($return[$k])) { | |
if ($k != 'middle_name') { | |
$return['success'] = false; | |
$return['message'] = 'Sorry, there was a problem reading your card.<br/>Please swipe again.'; | |
} | |
} | |
} |
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
<link rel="stylesheet" href="/vendors/font-awesome/css/font-awesome.min.css" /> | |
<style> | |
body { | |
padding:15px; | |
} | |
.header { | |
background-color:#252525; | |
color:#FFF; | |
padding:20px 30px; | |
height:50px; |
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 webpack = require('webpack'); | |
var path = require('path'); | |
var fs = require('fs'); | |
var nodeModules = {}; | |
fs.readdirSync('node_modules') | |
.filter(function(x) { | |
return ['.bin'].indexOf(x) === -1; | |
}) | |
.forEach(function(mod) { |
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 App = require('./../src/javascripts/App.js'); | |
var AppComponent = React.createFactory(App); | |
var html = React.renderToString(AppComponent()); | |
res.send(html); |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://code.jquery.com/jquery.min.js"></script> | |
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> | |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script> | |
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> |