These are chat archives for ipython/ipython
FYI, re: promises, http://www.html5rocks.com/en/tutorials/es6/promises/ says "As of Chrome 32, Opera 19 & Firefox 29, promises are enabled by default. They're in WebKit nightlies so expect them in the next release of Safari, and they're in development in IE.
To bring browsers that lack a complete promises implementation up to spec compliance, or add promises to other browsers and Node.js, check out the polyfill (2k gzipped)."
cell.get_pre_cursor() + text + cell.get_post_cursor(). get_pre/post_cursor do the js equivalent of str.strip(), because IPython's own code uses them only to split a cell, but that's obviously wrong when inserting text. Is there another method I should be using instead, or should I move the strip operation from those methods up to split_cell so I can use them like this?