Skip to content

Commit ed5a4fe

Browse files
committed
fix: remove console.log call and fit (test run only declaration)
1 parent 5687b0f commit ed5a4fe

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

examples/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ editable.on('change', (elem) => {
2727
// -------
2828
document.querySelector('select[name="editable-styles"]')
2929
.addEventListener('change', (evt) => {
30-
console.log(evt.target.value)
3130
for (const el of document.querySelectorAll('.styling-example p')) {
3231
el.classList.remove('example-style-default', 'example-style-dark')
3332
el.classList.add(`example-style-${evt.target.value}`)

spec/dispatcher.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ describe('Dispatcher', function () {
219219
})
220220
})
221221

222-
fdescribe('on newline', function () {
222+
describe('on newline', function () {
223223

224224
function typeKeys (element, chars) {
225225
const selection = window.getSelection()

src/cursor.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ export default class Cursor {
105105
hostRange.collapse(true)
106106
const hostCoords = getRangeBoundingClientRect(hostRange, this.win)
107107
const cursorCoords = getRangeBoundingClientRect(this.range.nativeRange, this.win)
108-
console.log(hostCoords.top, cursorCoords.top)
109108
return hostCoords.top === cursorCoords.top
110109
}
111110

0 commit comments

Comments
 (0)