This file contains 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 getActivePlaybook = task => { | |
if (!task || !task.options || !task.options.playbooks) return {}; | |
const { options: { playbooks } } = task; | |
if (playbooks.pre.status === 'Active') return playbooks.pre; | |
if (playbooks.post.status === 'Active') return playbooks.post; | |
return {}; | |
}; | |
const playbooksByTaskId = mostRecentTasks.reduce( | |
(map, task) => ({ |
This file contains 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
~/git > nfo ngnx-local Wed Jun 27 18:01:36 2018 | |
npm ERR! code E404 | |
npm ERR! 404 Not found : ngnx-local | |
npm ERR! 404 | |
npm ERR! 404 'ngnx-local' is not in the npm registry. | |
npm ERR! 404 You should bug the author to publish it (or use the name yourself!) | |
npm ERR! 404 | |
npm ERR! 404 Note that you can also install from a | |
npm ERR! 404 tarball, folder, http url, or git url. |
This file contains 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 { | |
BLUEPRINTS_FILTER_UPDATE_VALUES, | |
COMPONENTS_FILTER_UPDATE_VALUES, COMPONENTS_FILTER_ADD_VALUE | |
} from '../actions/filter'; | |
// const filter = (state = [], action) => { | |
// switch (action.type) { | |
// case COMPONENTS_FILTER_ADD_VALUE: | |
// // ... | |
// return Object.assign({}, state, |
This file contains 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 { | |
BLUEPRINTS_FILTER_UPDATE_VALUES, | |
COMPONENTS_FILTER_UPDATE_VALUES, COMPONENTS_FILTER_ADD_VALUE | |
} from '../actions/filter'; | |
// const filter = (state = [], action) => { | |
// switch (action.type) { | |
// case COMPONENTS_FILTER_ADD_VALUE: | |
// // ... | |
// return Object.assign({}, state, |
This file contains 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 { mount } from 'enzyme'; | |
<<<<<<< modal-wizard | |
import { Button, Row, Col, Wizard } from '../../index'; | |
======= | |
import { Row, Col } from 'react-bootstrap'; | |
import { Button } from '../Button'; | |
import { Wizard } from './index'; | |
import { |
This file contains 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 PropTypes from 'prop-types'; | |
class MyComponent extends React.Component { | |
someMethod() { | |
const { setControlledState } = this.props; | |
setControlledState({ value: 'New Value' }); | |
} | |
render() { | |
const { value } = this.props; |
This file contains 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 (Meteor.is_client) { | |
// ... | |
var collections = { | |
Comments : new Meteor.Collection('comments'), | |
Likes : new Meteor.Collection('likes') | |
}; | |
// ... |
This file contains 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
[03:05:51 WARN]: Exception in thread "pool-3-thread-2964" | |
[03:05:51 WARN]: org.apache.commons.lang.UnhandledException: Plugin EnjinMinecraftPlugin v2.5.6 generated an exception while executing task 9 | |
at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) | |
at java.lang.Thread.run(Thread.java:744) | |
Caused by: java.lang.NullPointerException | |
NewerOlder