Skip to content

Commit

Permalink
fix: remove console.log call and fit (test run only declaration)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcbachmann committed Aug 2, 2021
1 parent 5687b0f commit ed5a4fe
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion examples/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ editable.on('change', (elem) => {
// -------
document.querySelector('select[name="editable-styles"]')
.addEventListener('change', (evt) => {
console.log(evt.target.value)
for (const el of document.querySelectorAll('.styling-example p')) {
el.classList.remove('example-style-default', 'example-style-dark')
el.classList.add(`example-style-${evt.target.value}`)
Expand Down
2 changes: 1 addition & 1 deletion spec/dispatcher.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ describe('Dispatcher', function () {
})
})

fdescribe('on newline', function () {
describe('on newline', function () {

function typeKeys (element, chars) {
const selection = window.getSelection()
Expand Down
1 change: 0 additions & 1 deletion src/cursor.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ export default class Cursor {
hostRange.collapse(true)
const hostCoords = getRangeBoundingClientRect(hostRange, this.win)
const cursorCoords = getRangeBoundingClientRect(this.range.nativeRange, this.win)
console.log(hostCoords.top, cursorCoords.top)
return hostCoords.top === cursorCoords.top
}

Expand Down

0 comments on commit ed5a4fe

Please sign in to comment.