Posts

Showing posts from January 26, 2019

SlateJS + redux

Image
1 I want to store a SlateJS editor's value stored in redux instead of in state, but I when I change the hasLinks method, I immediately receive a crash stating: TypeError: Cannot read property 'inlines' of undefined Editor's hasLinks Method hasLinks = () => { // const { value } = this.state // Original const { value } = this.props // Update for redux // Alternative attempts // const { value } = this.props.editorValue // const value = this.props.editorValue // const { value } = this.props.editorValue // const value = Object.assign({}, this.props.editorValue) // const value = Value.fromJSON(Object.assign({}, this.props.editorValue)) return value.inlines.some(inline => inline.type == 'link') // Crashes on this line // retu...

Sexton (office)

Image
Sexton (office) From Wikipedia, the free encyclopedia Jump to navigation Jump to search See also: Sacristan A sexton is an officer of a church, congregation, or synagogue charged with the maintenance of its buildings and/or the surrounding graveyard. In smaller places of worship, this office is often combined with that of verger. [1] In larger buildings, such as cathedrals, a team of sextons may be employed. [2] Historically in North America and the United Kingdom the "sexton" was sometimes a minor municipal official responsible for overseeing the town graveyard. In the United Kingdom the position still exists today, related to management of the community's graveyard, and the sexton is usually employed by the town/parish or community council. [3] [4] Contents 1 Origin of the name 2 Duties 3 See also 4 References Origin of the name [ edit ] Hablot Knight Browne illustration:...

Jenkins server integration with bitbucket cloud

Image
0 Im new to jenkins server. I have a task. i will explain clearly here. I already created jenkins server on ubuntu ec2 server. my task that, 1. jenkins should auto pull the code from bitbucket cloud(one repos url), when user raise Pull request. Then this code should send to unit testing. 2. If unit test passed , then this code send to future test like web testing as well jenkins send the unit test report as html report to user by mail notification. (if unit test failed then jobs should drop) 3. webtesting should run on maven project.(becuase the webtesting code have pom.xml file- which is used to test the code after the unit testing. This webtesting code in another repos url). 4. If webtesting passed ,then this report as html document send to user by mail notification. 5. Then when user merge and approve the ...