markupmirror/static/markupmirror/markupmirror.js
/* refresh the iframe for a group of CodeMirrors */
refresh the iframe for a group of CodeMirrors
refresh the iframe for a group of CodeMirrors
function refresh_iframe($codemirror) {
    $codemirror.each(function() {
        var $this = $(this);
        $this.get(0).CodeMirror.refresh();
        $this.children('iframe').trigger('_resize');
    });
}
function refresh_iframe ( $codemirror ) { $codemirror . each ( function ( ) { var $this = $ ( this ) ; $this . get ( 0 ) . CodeMirror . refresh ( ) ; $this . children ( 'iframe' ) . trigger ( '_resize' ) ; } ) ; }
refresh the iframe for a group of CodeMirrors
refresh the iframe for a group of CodeMirrors