daily pastebin goal
68%
SHARE
TWEET

Untitled

a guest Jan 18th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. proto.toLiveObservable = function(eventType, eventData)
  2.     {
  3.         var parent = this;
  4.         return observableCreate(function(observer)
  5.         {
  6.             var handler = function(eventObject)
  7.             {
  8.                 observer.OnNext(eventObject);
  9.             };
  10.             parent.live(eventType, eventData, handler);
  11.             return function()
  12.             {
  13.                 parent.die(eventType, handler);
  14.             };
  15.         });
  16.     };
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