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
export function actionTypeBuilder(prefix) { | |
return { | |
type: actionType => `${prefix}/${actionType}`, | |
loading: actionType => `${actionType}/loading`, | |
ready: actionType => `${actionType}/ready`, | |
stopped: actionType => `${actionType}/stopped`, | |
changed: actionType => `${actionType}/changed`, | |
error: actionType => `${actionType}/error`, | |
success: actionType => `${actionType}/success` | |
}; |
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
Verifying that +michaltakac is my blockchain ID. https://onename.com/michaltakac |
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
Meteor.methods({ | |
getCars: function() { | |
var url = 'http://example.com/my-php-script.php'; | |
var result = HTTP.post(url, {timeout:30000}); | |
if(result.statusCode==200) { | |
var respJson = JSON.parse(result.content); | |
console.log("response received."); | |
return respJson; |
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
// uplne hore importy | |
import javax.swing.*; | |
import java.awt.*; | |
import java.awt.event.ActionEvent; | |
import java.awt.event.ActionListener; | |
import java.awt.event.KeyEvent; | |
// dalej dakde v pici v kode kde mas zadefinovany ten btnNewButton_5 | |
JMenuItem btnNewButton_5 = new JMenuItem("Ukončiť"); | |
btnNewButton_5.setMnemonic(KeyEvent.VK_E); |
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
const ChartsSettings = { | |
doughnutChart: { | |
data: [ | |
{ | |
value: 300, | |
color: '#F7464A', | |
highlight: '#FF5A5E', | |
label: 'Red' | |
}, | |
{ |
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 Box from '../components/Box.react'; | |
import ChartsSettings from './charts'; | |
import Component from 'react-pure-render/component'; | |
import {Row, Col, Panel, Table} from 'react-bootstrap'; | |
import React, {PropTypes} from 'react'; | |
import PageHeader from '../components/PageHeader.react'; | |
import {Bar, Doughnut, Line, Radar, PolarArea, Pie} from 'rc-chartjs'; | |
export default class Page extends Component { |
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 Component from 'react-pure-render/component'; | |
import Helmet from 'react-helmet'; | |
import {Accordion, Alert, Button, Col, Label, Panel, ProgressBar, Row} from 'react-bootstrap'; | |
import React, {PropTypes} from 'react'; | |
import FooterTools from '../../common/components/FooterTools.react'; | |
import PageHeader from '../components/PageHeader.react'; | |
import Box from '../components/Box.react'; | |
export default class Page extends Component { |
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 Component from 'react-pure-render/component'; | |
import ModalComponent from './ModalComponent.react'; | |
import React, {PropTypes} from 'react'; | |
import {Col} from 'react-bootstrap'; | |
export default class Box extends Component { | |
static propTypes = { | |
actions: PropTypes.object.isRequired, | |
bodyClass: PropTypes.string.isRequired, |
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 Component from 'react-pure-render/component'; | |
import {Row, Col, Panel, Table} from 'react-bootstrap'; | |
import React, {PropTypes} from 'react'; | |
import PageHeader from '../components/PageHeader.react'; | |
export default class Page extends Component { | |
static propTypes = { | |
// Why not PropTypes.object.isRequired? Because: | |
// https://github.com/rackt/react-router/issues/1505 |
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
export default { | |
home: { | |
description: 'Home page of Meteorboard admin panel.', | |
menu: [ | |
{ | |
link: '/', | |
title: 'Menu 1' | |
}, | |
{ | |
link: '/', |