Skip to content

Commit eeca031

Browse files
Merge upstream into master
1 parent 918a862 commit eeca031

File tree

3 files changed

+0
-18
lines changed

3 files changed

+0
-18
lines changed

browser/components/MarkdownPreview.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -248,11 +248,7 @@ export default class MarkdownPreview extends React.Component {
248248
handleContextMenu (event) {
249249
const menu = buildMarkdownPreviewContextMenu(this, event)
250250
if (menu != null) {
251-
<<<<<<< HEAD
252-
setTimeout(() => menu.popup(remote.getCurrentWindow()), 30)
253-
=======
254251
menu.popup(remote.getCurrentWindow())
255-
>>>>>>> upstream/master
256252
}
257253
}
258254

browser/lib/contextMenuBuilder.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -81,17 +81,8 @@ const buildMarkdownPreviewContextMenu = function (markdownPreview, event) {
8181

8282
// Default context menu inclusions
8383
const template = [{
84-
<<<<<<< HEAD
85-
role: 'cut'
86-
}, {
87-
role: 'copy'
88-
}, {
89-
role: 'paste'
90-
}, {
91-
=======
9284
role: 'copy'
9385
}, {
94-
>>>>>>> upstream/master
9586
role: 'selectall'
9687
}]
9788

tests/lib/contextMenuBuilder.test.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,8 @@ jest.mock('electron', () => {
44
})
55

66
const spellcheck = require('browser/lib/spellcheck')
7-
<<<<<<< HEAD
8-
const buildEditorContextMenu = require('browser/lib/contextMenuBuilder')
9-
const buildMarkdownPreviewContextMenu = require('browser/lib/contextMenuBuilder')
10-
=======
117
const buildEditorContextMenu = require('browser/lib/contextMenuBuilder').buildEditorContextMenu
128
const buildMarkdownPreviewContextMenu = require('browser/lib/contextMenuBuilder').buildMarkdownPreviewContextMenu
13-
>>>>>>> upstream/master
149

1510
beforeEach(() => {
1611
menuBuilderParameter = null

0 commit comments

Comments
 (0)