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 'babel-core/polyfill' //i guess this needs to be first? | |
import './index.html' | |
import './favicon.ico' | |
import 'react-bootstrap' | |
import 'bootstrap/dist/css/bootstrap.css' | |
import './index.less' |
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 { render } from 'react-dom' | |
import HTML5Backend from 'react-dnd-html5-backend' | |
import { DragDropContext, DropTarget } from 'react-dnd' | |
import ReactTransitionGroup from 'react-addons-transition-group' | |
@DragDropContext(HTML5Backend) | |
class App extends React.Component { | |
constructor() { |
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
define(function () { | |
return { | |
'layout_A': { | |
slots: {}, | |
content: '', | |
meta: { | |
layoutOptions: { | |
type: 'layout_A', | |
spacing: 6, | |
rows: [ |
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
//if appearing (boolean) has NOT changed | |
if (!(nextProps.dropZone.appearing ^ dropZone.appearing)) { return false } |
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
var https = require('https'); | |
var options = { | |
hostname: 'gbfs.bcycle.com', | |
port: 443, | |
path: '/bcycle_pacersbikeshare/station_information.json', | |
method: 'GET' | |
}; |
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
//if set to appear | |
// if displayed, return false | |
// else start appearing | |
//else | |
// if displayed, start disappearing | |
// else return false |
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 { DropdownButton, MenuItem } from 'react-bootstrap' | |
class HoverSelector extends React.Component { | |
constructor(props) { | |
super(props) | |
this.render = this.render.bind(this) | |
} |
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 { DropdownButton, MenuItem } from 'react-bootstrap' | |
class HoverSelector extends React.Component { | |
constructor: function (props) { | |
super(props) | |
}, | |
render: function () { |
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 { render } from 'react-dom' | |
import HoverSelector from './hoverselector.js' | |
render( | |
<div> | |
<h3>this is a header</h3> | |
<HoverSelector /> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Renception Editor</title> | |
</head> | |
<body> | |
<div id="main"></div> | |
</body> | |
</html> |