Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
// Bind <C-c> to exit insert mode | |
require([ | |
'nbextensions/vim_binding/vim_binding', | |
], function(nb) { | |
CodeMirror.Vim.map("<C-c>", "<Esc>", "insert"); | |
nb.attach = (function() { | |
var cached_function = nb.attach; | |
return function(){ | |
var result = cached_function.apply(this, arguments); | |
var cm_config = require("notebook/js/cell").Cell.options_default.cm_config; |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
beforeEach(function() { | |
this.addMatchers({ | |
toBeInstanceOf : function( expected ) { | |
return this.actual instanceof expected && this.actual.length > 0; | |
}, | |
toBeA: function( expected ) { | |
return typeof this.actual === expected; | |
} | |
}); |