daily pastebin goal
31%
SHARE
TWEET

Untitled

a guest Aug 15th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. filter.FlightStart(context, {Type: 'country', Code: 'RU'}, function(result){
  2.     if(result == 'RU'){
  3.         filter.FlightStarts(context, {Type: 'city', Code: 'MOW'}, function(result){
  4.             if(result == 'MOW'){
  5.                 action.ClearOrigin(context, {toggle: 'all'}, function(){
  6.                     end();
  7.                 })
  8.             }
  9.         })
  10.     } else {
  11.         filter.FlightStarts(context, {Type: 'country', Code: 'UA'}, function(result){
  12.             if(result == 'UA'){
  13.                 action.ClearOrigin(context, {toggle: 'all'}, function(){
  14.                     end();
  15.                 })
  16.             }
  17.         });
  18.     }
  19. })
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top