Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- html = $.get '/foo.html', $CC
- alert html
- # Shift into:
- $.get '/foo.html', (it) ->
- html = it
- alert html
- # ------------
- callSomeFunc $.get '/foo.html', $CC
- # Shift into:
- $.get '/foo.html', (it) ->
- callSomeFunc it
- # ------------
- data = 'xyz' + $.get '/foo.html', $CC
- callSomeFunc data
- # Shift into:
- $.get '/foo.html', (it) ->
- data = 'xyz' + it
- callSomeFunc data
- # ------------
- alert $.post '/foo/bar/' + ($.get '/getFilename', $CC), $CC
- callSomeFunc data
- # Shift into:
- $.get '/getFilename', (it) ->
- $.post '/foo/bar/' + it, (it) ->
- alert it
Add Comment
Please, Sign In to add comment