           keymapManager.handleKeyboardEvent(lastEvent = buildKeydownEvent(key: 'q', target: editor))
 
           assert.deepEqual(events, ['input:d', 'input:o'])
-          assert(!lastEvent.defaultPrevented)
+          assert(not lastEvent.defaultPrevented)
 
       describe "when the currently queued keystrokes exactly match at least one binding", ->
         it "disables partially-matching bindings and replays the queued keystrokes if the ::partialMatchTimeout expires", ->


          event = buildKeydownEvent(key: 'y', ctrlKey: true, target: elementB)
          keymapManager.handleKeyboardEvent(event)
          assert(!event.defaultPrevented)

          assert.equal(events.length, 3)
          assert.equal(events[0].type, 'y-command')


      event = buildKeydownEvent(key: 'A', shiftKey: true, target: document.body)
      keymapManager.handleKeyboardEvent(event)
      assert(not event.defaultPrevented)

    it "returns a disposable allowing the added bindings to be removed", ->
      disposable1 = keymapManager.add 'foo',
