401619e9362590e8e826e772aff63dfa.json 1.96 KB
{"ast":null,"code":"'use strict';Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var EventSubscription=function(){function EventSubscription(subscriber){this.subscriber=subscriber;}var _proto=EventSubscription.prototype;_proto.remove=function remove(){this.subscriber.removeSubscription(this);};return EventSubscription;}();var _default=EventSubscription;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/emitter/EventSubscription.js"],"names":["EventSubscription","subscriber","_proto","prototype","remove","removeSubscription"],"mappings":"AASA,a,gFAMA,GAAIA,CAAAA,iBAAiB,CAErB,UAAY,CAKV,QAASA,CAAAA,iBAAT,CAA2BC,UAA3B,CAAuC,CACrC,KAAKA,UAAL,CAAkBA,UAAlB,CACD,CAMD,GAAIC,CAAAA,MAAM,CAAGF,iBAAiB,CAACG,SAA/B,CAEAD,MAAM,CAACE,MAAP,CAAgB,QAASA,CAAAA,MAAT,EAAkB,CAChC,KAAKH,UAAL,CAAgBI,kBAAhB,CAAmC,IAAnC,EACD,CAFD,CAIA,MAAOL,CAAAA,iBAAP,CACD,CApBD,EAFA,C,aAwBeA,iB","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @providesModule EventSubscription\n * \n */\n'use strict';\n\n/**\n * EventSubscription represents a subscription to a particular event. It can\n * remove its own subscription.\n */\nvar EventSubscription =\n/*#__PURE__*/\nfunction () {\n  /**\n   * @param {EventSubscriptionVendor} subscriber the subscriber that controls\n   *   this subscription.\n   */\n  function EventSubscription(subscriber) {\n    this.subscriber = subscriber;\n  }\n  /**\n   * Removes this subscription from the subscriber that controls it.\n   */\n\n\n  var _proto = EventSubscription.prototype;\n\n  _proto.remove = function remove() {\n    this.subscriber.removeSubscription(this);\n  };\n\n  return EventSubscription;\n}();\n\nexport default EventSubscription;"]},"metadata":{},"sourceType":"script"}