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 { | |
| color: purple; | |
| } |
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'; | |
| class TextInput extends React.Component { | |
| constructor(props: Props) { | |
| super(props); | |
| this.state = { | |
| value: props.input.value || '', | |
| }; | |
| } |
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
| // @flow | |
| import React from 'react'; | |
| declare module 'redux-form' { | |
| declare type InputProps = { | |
| active: boolean, | |
| touched: boolean, | |
| error: ?string, | |
| input: { | |
| name: string, |
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
| fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
| fastcgi_param QUERY_STRING $query_string; | |
| fastcgi_param REQUEST_METHOD $request_method; | |
| fastcgi_param CONTENT_TYPE $content_type; | |
| fastcgi_param CONTENT_LENGTH $content_length; | |
| fastcgi_param SCRIPT_NAME $fastcgi_script_name; | |
| fastcgi_param REQUEST_URI $request_uri; | |
| fastcgi_param DOCUMENT_URI $document_uri; | |
| fastcgi_param DOCUMENT_ROOT $document_root; |
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
| begin; | |
| update offer_requests | |
| set data = '{"field_quote_health_oldest_person":"2","field_frequancy":"monthly","field_postcode":"4169","field_paying":"70","field_health_cover_level":"2","field_health_cover_for":"01","field_health_excess_level":"2","provider_id":"89","field_health_type":"hospital_extra","user_info":{"email":"bjbassos@gmail.com","resource_uri":"/users/493"},"question_data":{"1":[1],"2":[4]},"category_code":"health","providers":[],"questions":[{"question_text":"Main reason for buying","answers":[{"id":1,"text":"I want to compare offers"}]},{"question_text":"What''s important to you","answers":[{"id":4,"text":"Dental"}]}],"currenty_with":"CDH-health"}' | |
| where id = 20; | |
| update offer_requests | |
| set data = '{"field_postcode":"6052","field_mortgage_annual_household":"150","provider_id":"86","field_mortgage_paying":"5.39","field_mortgage_type":"variable","field_mortage_loan_amount":"750000","field_mortgage_estimated_value":"840000","field_mortgage_purpose":"03","user_info":{"email":"bags83@me.com","reso |
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
| 2013-02-22T04:05:33.663Z - error: Uncaught Exception SyntaxError: Unexpected token u | |
| at Object.parse (native) | |
| at Request.exports.authenticate.postToGatekeeper [as _callback] (/Users/kristian/Documents/Development/MoneyTribe/connect/controllers/welcome.coffee:286:21) | |
| at Request.init.self.callback (/Users/kristian/Documents/Development/MoneyTribe/connect/node_modules/request/main.js:122:22) | |
| at Request.EventEmitter.emit (events.js:96:17) | |
| at ClientRequest.Request.init.self.clientErrorHandler (/Users/kristian/Documents/Development/MoneyTribe/connect/node_modules/request/main.js:225:10) | |
| at ClientRequest.EventEmitter.emit (events.js:96:17) | |
| at Socket.socketErrorListener (http.js:1411:9) | |
| at Socket.EventEmitter.emit (events.js:96:17) | |
| at Socket._destroy.self.errorEmitted (net.js:329:14) |
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
| constants = require './../lib/constants' | |
| friendlyNumbers = require './../lib/friendly_numbers' | |
| async = require 'async' | |
| numeral = require('numeral') | |
| exports.create = (req, res) -> | |
| + | |
| + console.log req.body, "<<<<<< OFFER BODY" | |
| + | |
| category_code = req.body.category_code #for legacy 1.0/1.1 |