1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

fix path of module & contactform

This commit is contained in:
Rokt33r
2015-12-25 11:06:00 +09:00
parent 325ae00eeb
commit 27a442ed2e
42 changed files with 117 additions and 820 deletions

View File

@@ -1,6 +1,6 @@
import React from 'react'
import ReactDOM from 'react-dom'
import modes from 'boost/vars/modes'
import modes from '../lib/modes'
import _ from 'lodash'
var ace = window.ace

View File

@@ -1,6 +1,6 @@
var React = require('react')
var { PropTypes } = React
import markdown from 'boost/markdown'
import markdown from '../lib/markdown'
var ReactDOM = require('react-dom')
const electron = require('electron')

View File

@@ -1,7 +1,7 @@
import React, { PropTypes } from 'react'
import ReactDOM from 'react-dom'
import ModeIcon from 'boost/components/ModeIcon'
import modes from 'boost/vars/modes'
import ModeIcon from './ModeIcon'
import modes from '../lib/modes'
import _ from 'lodash'
const IDLE_MODE = 'IDLE_MODE'

View File

@@ -1,18 +0,0 @@
import React, { PropTypes } from 'react'
import store from '../store'
import { setTagFilter } from '../actions'
export default class TagLink extends React.Component {
handleClick (e) {
store.dispatch(setTagFilter(this.props.tag))
}
render () {
return (
<a onClick={e => this.handleClick(e)}>{this.props.tag}</a>
)
}
}
TagLink.propTypes = {
tag: PropTypes.string
}

View File

@@ -1,7 +1,7 @@
import React, { PropTypes } from 'react'
import ReactDOM from 'react-dom'
import _ from 'lodash'
import linkState from 'boost/linkState'
import linkState from '../lib/linkState'
function isNotEmptyString (str) {
return _.isString(str) && str.length > 0