Gazebo_simulation-Frontend/node_modules/.cache/babel-loader/4f2d92e2110254a1690ee81d1f43954a.json
2020-12-22 09:59:14 -05:00

1 line
545 B
JSON

{"ast":null,"code":"'use strict';\n\nvar EventEmitter = require('events').EventEmitter,\n inherits = require('inherits');\n\nfunction XHRFake()\n/* method, url, payload, opts */\n{\n var self = this;\n EventEmitter.call(this);\n this.to = setTimeout(function () {\n self.emit('finish', 200, '{}');\n }, XHRFake.timeout);\n}\n\ninherits(XHRFake, EventEmitter);\n\nXHRFake.prototype.close = function () {\n clearTimeout(this.to);\n};\n\nXHRFake.timeout = 2000;\nmodule.exports = XHRFake;","map":null,"metadata":{},"sourceType":"script"}