EventSource:http的polyfill

时间:2021-04-01 10:12:05
【文件属性】:
文件名称:EventSource:http的polyfill
文件大小:64KB
文件格式:ZIP
更新时间:2021-04-01 10:12:05
JavaScript EventSource polyfill- //html.spec.whatwg.org/multipage/server-sent-events.html#server-sent-events 正在安装: 您可以从npm或bower获取代码: npm install event-source-polyfill bower install event-source-polyfill 只需在页面中包含src/eventsource.js或src/eventsource.min.js即可使用src/eventsource.min.js 。 Ionic2 / Angular2安装: 除非为此Polyfill创建了打字稿定义文件,否则您将在Ionic2项目中使用它。 从理论上讲,它在Angular2项目中应该非常相似。 npm install event-source-polyfill
【文件预览】:
EventSource-master
----package.json(757B)
----php()
--------events.php(636B)
--------index.html(725B)
----tests()
--------tests.js(22KB)
--------nodechat.js(2KB)
--------server.js(6KB)
--------eventsource.js(39KB)
--------nodechat.css(11KB)
--------tests.html(650B)
--------example.html(782B)
--------README(126B)
--------qunit.css(4KB)
--------qunit.js(60KB)
--------run.bat(20B)
--------events()
--------stop.js(29B)
----component.json(414B)
----Gruntfile.js(454B)
----src()
--------eventsource.min.js(12KB)
--------eventsource.js(32KB)
----LICENSE.md(1KB)
----.gitignore(13B)
----README.md(8KB)
----bower.json(93B)
----.gitattributes(207B)

网友评论