]> arthur.barton.de Git - atom-ax-pipe.git/commit
Don't use editor.{begin|commit}Transaction dont-use-transactions
authorAlexander Barton <alex@barton.de>
Thu, 25 Jun 2015 15:51:21 +0000 (17:51 +0200)
committerAlexander Barton <alex@barton.de>
Thu, 25 Jun 2015 15:55:29 +0000 (17:55 +0200)
commit8344ff72ee313e913d4a3a64e02463e427b42a69
tree3738153ee94bdb45118cb217a0cb48f79f4e22d6
parentdce42312e4588a50817f87c0ceedeba0f876a454
Don't use editor.{begin|commit}Transaction

This solves the following error (but I'm not sure if not using transactions
at all is the "real" solution ...):

Uncaught TypeError: undefined is not a function

At .../Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1156

TypeError: undefined is not a function
  at TextEditor.module.exports.TextEditor.beginTransaction (.../Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1156:26)
  at .../lib/pipe.coffee:37:14
  at space-pen-div.<anonymous> (.../lib/command-view.coffee:32:7)
  at space-pen-div.jQuery.event.dispatch (.../node_modules/atom-space-pen-views/node_modules/space-pen/node_modules/jquery/dist/jquery.js:4435:9)
  at space-pen-div.elemData.handle (.../node_modules/atom-space-pen-views/node_modules/space-pen/node_modules/jquery/dist/jquery.js:4121:28)
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (.../Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:520:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (.../Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:355:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (.../Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:180:20)
lib/pipe.coffee