Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add calendar and index #13

Merged
merged 5 commits into from Feb 2, 2017
Merged

Add calendar and index #13

merged 5 commits into from Feb 2, 2017

Conversation

marjielam
Copy link
Owner

No description provided.

ReactDOM.render(
<Calendar />,
document.getElementById('calendar')
);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected an identifier and instead saw ')'.
Expected an assignment or function call and instead saw an expression.

ReactDOM.render(
<Calendar />,
document.getElementById('calendar')
);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected an identifier and instead saw ')'.
Expected an assignment or function call and instead saw an expression.

if (document.getElementById('calendar')) {
ReactDOM.render(
<Calendar />,
document.getElementById('calendar')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected an assignment or function call and instead saw an expression.
Missing semicolon.

if (document.getElementById('calendar')) {
ReactDOM.render(
<Calendar />,
document.getElementById('calendar')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected an assignment or function call and instead saw an expression.
Missing semicolon.


$(function() {
if (document.getElementById('calendar')) {
ReactDOM.render(
<Calendar />,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected an identifier and instead saw '<'.
Expected ')' and instead saw 'Calendar'.
Expected an identifier and instead saw '>'.


$(function() {
if (document.getElementById('calendar')) {
ReactDOM.render(
<Calendar />,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected an identifier and instead saw '<'.
Expected ')' and instead saw 'Calendar'.
Expected an identifier and instead saw '>'.

return (
<div className="day-tile small-12 medium-6 large-3 columns"
onMouseOver={() => this.hoverOn()} onMouseOut={() => this.hoverOff()}>
<span>{display}</span>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unclosed regular expression.
Unrecoverable syntax error. (82% scanned).

return (
<div className="day-tile small-12 medium-6 large-3 columns"
onMouseOver={() => this.hoverOn()} onMouseOut={() => this.hoverOff()}>
<span>{display}</span>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unclosed regular expression.
Unrecoverable syntax error. (82% scanned).

key={day.day.id}
questionBody={day.question.body}
displayDate={displayDate}
/>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unclosed regular expression.
Unrecoverable syntax error. (86% scanned).

key={day.day.id}
questionBody={day.question.body}
displayDate={displayDate}
/>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unclosed regular expression.
Unrecoverable syntax error. (86% scanned).

}
}

export default Calendar;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'export' is only available in ES6 (use 'esversion: 6').

}
}

export default Calendar;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'export' is only available in ES6 (use 'esversion: 6').

onChange={this.handleDateChange}
placeholderText="Select a day to view"
/>
);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected an identifier and instead saw ')'.
Expected an assignment or function call and instead saw an expression.

onChange={this.handleDateChange}
placeholderText="Select a day to view"
/>
);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected an identifier and instead saw ')'.
Expected an assignment or function call and instead saw an expression.

selected={this.state.selectedDate}
onChange={this.handleDateChange}
placeholderText="Select a day to view"
/>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Misleading line break before '/'; readers may interpret this as an expression boundary.
Expected an identifier and instead saw '>'.
Missing semicolon.

selected={this.state.selectedDate}
onChange={this.handleDateChange}
placeholderText="Select a day to view"
/>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Misleading line break before '/'; readers may interpret this as an expression boundary.
Expected an identifier and instead saw '>'.
Missing semicolon.

return (
<DatePicker
selected={this.state.selectedDate}
onChange={this.handleDateChange}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected ':' and instead saw '.'.
Missing semicolon.

return (
<DatePicker
selected={this.state.selectedDate}
onChange={this.handleDateChange}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected ':' and instead saw '.'.
Missing semicolon.

render() {
return (
<DatePicker
selected={this.state.selectedDate}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected ':' and instead saw '.'.
Missing semicolon.

render() {
return (
<DatePicker
selected={this.state.selectedDate}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected ':' and instead saw '.'.
Missing semicolon.


render() {
return (
<DatePicker

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected an identifier and instead saw '<'.
Expected ')' to match '(' from line 20 and instead saw 'DatePicker'.
Missing semicolon.


render() {
return (
<DatePicker

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected an identifier and instead saw '<'.
Expected ')' to match '(' from line 20 and instead saw 'DatePicker'.
Missing semicolon.

import DatePicker from 'react-datepicker';
import Moment from 'moment';

class Calendar extends Component {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'class' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).

import DatePicker from 'react-datepicker';
import Moment from 'moment';

class Calendar extends Component {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'class' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).

@@ -0,0 +1,30 @@
import React, { Component } from 'react';
import DatePicker from 'react-datepicker';
import Moment from 'moment';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'import' is only available in ES6 (use 'esversion: 6').

@@ -0,0 +1,30 @@
import React, { Component } from 'react';
import DatePicker from 'react-datepicker';
import Moment from 'moment';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'import' is only available in ES6 (use 'esversion: 6').

@@ -0,0 +1,30 @@
import React, { Component } from 'react';
import DatePicker from 'react-datepicker';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'import' is only available in ES6 (use 'esversion: 6').

@@ -0,0 +1,30 @@
import React, { Component } from 'react';
import DatePicker from 'react-datepicker';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'import' is only available in ES6 (use 'esversion: 6').

@@ -0,0 +1,30 @@
import React, { Component } from 'react';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'import' is only available in ES6 (use 'esversion: 6').

@@ -0,0 +1,30 @@
import React, { Component } from 'react';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'import' is only available in ES6 (use 'esversion: 6').

@marjielam marjielam merged commit 730a93d into master Feb 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants