function pull() {
    $.post('/pull', function (data) {
        $('#editor').val('');
        sendMarkdown();
        alert(data);
    })
}
/**
 * Call pull request to server.
 */
Call pull request to server.
Call pull request to server .
function pull() {
    $.post('/pull', function (data) {
        $('#editor').val('');
        sendMarkdown();
        alert(data);
    })
}
function pull ( ) { $ . post ( '/pull' , function ( data ) { $ ( '#editor' ) . val ( '' ) ; sendMarkdown ( ) ; alert ( data ) ; } ) }
Call pull request to server.
Call pull request to server .