mirror of
https://github.com/actions/setup-python.git
synced 2024-11-14 07:31:09 +07:00
1 line
101 KiB
Plaintext
1 line
101 KiB
Plaintext
|
{"version":3,"sources":["config/versionTemplate.txt","../../../../../../../../../../../../../../../../../lib/rsvp/events.js","../../../../../../../../../../../../../../../../../lib/rsvp/config.js","../../../../../../../../../../../../../../../../../lib/rsvp/instrument.js","../../../../../../../../../../../../../../../../../lib/rsvp/promise/resolve.js","../../../../../../../../../../../../../../../../../lib/rsvp/-internal.js","../../../../../../../../../../../../../../../../../lib/rsvp/then.js","../../../../../../../../../../../../../../../../../lib/rsvp/enumerator.js","../../../../../../../../../../../../../../../../../lib/rsvp/promise/all.js","../../../../../../../../../../../../../../../../../lib/rsvp/promise/race.js","../../../../../../../../../../../../../../../../../lib/rsvp/promise/reject.js","../../../../../../../../../../../../../../../../../lib/rsvp/promise.js","../../../../../../../../../../../../../../../../../lib/rsvp/node.js","../../../../../../../../../../../../../../../../../lib/rsvp/all.js","../../../../../../../../../../../../../../../../../lib/rsvp/all-settled.js","../../../../../../../../../../../../../../../../../lib/rsvp/race.js","../../../../../../../../../../../../../../../../../lib/rsvp/promise-hash.js","../../../../../../../../../../../../../../../../../lib/rsvp/hash.js","../../../../../../../../../../../../../../../../../lib/rsvp/hash-settled.js","../../../../../../../../../../../../../../../../../lib/rsvp/rethrow.js","../../../../../../../../../../../../../../../../../lib/rsvp/defer.js","../../../../../../../../../../../../../../../../../lib/rsvp/map.js","../../../../../../../../../../../../../../../../../lib/rsvp/resolve.js","../../../../../../../../../../../../../../../../../lib/rsvp/reject.js","../../../../../../../../../../../../../../../../../lib/rsvp/filter.js","../../../../../../../../../../../../../../../../../lib/rsvp/asap.js","../../../../../../../../../../../../../../../../../lib/rsvp.js"],"sourcesContent":["/*!\n * @overview RSVP - a tiny implementation of Promises/A+.\n * @copyright Copyright (c) 2016 Yehuda Katz, Tom Dale, Stefan Penner and contributors\n * @license Licensed under MIT license\n * See https://raw.githubusercontent.com/tildeio/rsvp.js/master/LICENSE\n * @version 4.8.4+ff10049b\n */\n","\nfunction callbacksFor(object) {\n let callbacks = object._promiseCallbacks;\n\n if (!callbacks) {\n callbacks = object._promiseCallbacks = {};\n }\n\n return callbacks;\n}\n\n/**\n @class EventTarget\n @for rsvp\n @public\n*/\nexport default {\n\n /**\n `EventTarget.mixin` extends an object with EventTarget methods. For\n Example:\n\n ```javascript\n import EventTarget from 'rsvp';\n\n let object = {};\n\n EventTarget.mixin(object);\n\n object.on('finished', function(event) {\n // handle event\n });\n\n object.trigger('finished', { detail: value });\n ```\n\n `EventTarget.mixin` also works with prototypes:\n\n ```javascript\n import EventTarget from 'rsvp';\n\n let Person = function() {};\n EventTarget.mixin(Person.prototype);\n\n let yehuda = new Person();\n let tom = new Person();\n\n yehuda.on('poke', function(event) {\n console.log('Yehuda says OW');\n });\n\n tom.on('poke', function(event) {\n console.log('Tom says OW');\n });\n\n yehuda.trigger('poke');\n tom.trigger('poke');\n ```\n\n @method mixin\n @for rsvp\n @private\n @param {Object} object object to extend with EventTarget methods\n */\n mixin(object) {\n object.on = this.on;\n object.off = this.off;\n object.trigger = this.trigger;\n object._promiseCallbacks = undefined;\n return object;\n },\n\n /**\n Registers a callback to be executed when `eventName` is triggered\n\n ```javascript\n object.on('event', function(eventInfo){\n // handle the event\n });\n\n object.trigger('event');\n ```\n\n @method on\n @for EventTarget\n @private\n @param {String} eventName name of the event to listen for\n @param {Function} callback function to
|