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 { Renderer } from 'marked'; | |
| import Markdown from '~components/markdown'; | |
| import CodeMirror from 'codemirror'; | |
| import 'codemirror/addon/runmode/runmode'; | |
| import 'codemirror/mode/ruby/ruby'; | |
| import 'codemirror/mode/xml/xml'; | |
| import 'codemirror/mode/javascript/javascript'; | |
| import 'codemirror/mode/css/css'; | |
| import 'codemirror/mode/htmlmixed/htmlmixed'; | |
| import '~utils/gfm+table'; |
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
| require 'httparty' | |
| require 'time_difference' | |
| require 'awesome_print' | |
| JIRA_EMAIL = '[email protected]' | |
| TOKEN = '1234567890' | |
| authorization_token = Base64.urlsafe_encode64("#{JIRA_EMAIL}:#{TOKEN}") | |
| headers = { |
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
| 'Rextester.Program.Main is the entry point for your code. Don't change it. | |
| 'Compiler version 11.0.50709.17929 for Microsoft (R) .NET Framework 4.5 | |
| Imports System | |
| Imports System.Collections.Generic | |
| Imports System.Linq | |
| Imports System.Text.RegularExpressions | |
| Namespace Rextester | |
| Public Module Program |
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'; | |
| import FullCalendar from 'fullcalendar'; | |
| class ReactFullCalendar extends React.Component { | |
| componentDidMount() { | |
| this.widget = $(this.container).fullCalendar({ | |
| currentDate: this.props.currentDate, | |
| }); | |
| this.widget.on('dateSelected', this.props.onDateSelected); |
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'; | |
| import { connect } from 'react-redux'; | |
| import { reduxForm, Field, FieldArray } from 'redux-form'; | |
| const sleep = ms => | |
| new Promise(resolve => setTimeout(resolve, ms)); | |
| const asyncValidateForm = (values) => { | |
| return sleep(1000) | |
| .then(() => { |
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'; | |
| import PaginatedTable from './PaginatedTable'; | |
| const App = () => ( | |
| <div> | |
| <PaginatedTable perPage={5} /> | |
| </div> | |
| ); | |
| export default App; |
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'; | |
| import PaginatedTable from './PaginatedTable'; | |
| import data from './movies'; | |
| const App = () => ( | |
| <div> | |
| <PaginatedTable data={data} perPage={5} /> | |
| </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
| // const EmploymentHistory = withRemoteData( | |
| // fetchEmploymentHistory, | |
| // getEmployeeEmploymentHistory | |
| // )(EmploymentHistoryTable); | |
| // const EmploymentHistoryMobile = withRemoteData( | |
| // fetchEmploymentHistory, | |
| // getEmployeeEmploymentHistory | |
| // )(EmploymentHistoryView); |
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'; | |
| export default class FetchData extends React.Component { | |
| constructor() { | |
| super(); | |
| this.state = { | |
| data: null, | |
| isLoading: false, | |
| error: '', |
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 styles from './styles.scss'; |