eventsource-polyfill

WebJar for eventsource-polyfill

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.bower
Идентификатор

Идентификатор

eventsource-polyfill
Последняя версия

Последняя версия

0.9.7
Дата

Дата

Тип

Тип

jar
Описание

Описание

eventsource-polyfill
WebJar for eventsource-polyfill
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/amvtek/EventSource

Скачать eventsource-polyfill

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.bower/eventsource-polyfill/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>eventsource-polyfill</artifactId>
    <version>0.9.7</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/eventsource-polyfill/
implementation 'org.webjars.bower:eventsource-polyfill:0.9.7'
// https://jarcasting.com/artifacts/org.webjars.bower/eventsource-polyfill/
implementation ("org.webjars.bower:eventsource-polyfill:0.9.7")
'org.webjars.bower:eventsource-polyfill:jar:0.9.7'
<dependency org="org.webjars.bower" name="eventsource-polyfill" rev="0.9.7">
  <artifact name="eventsource-polyfill" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='eventsource-polyfill', version='0.9.7')
)
libraryDependencies += "org.webjars.bower" % "eventsource-polyfill" % "0.9.7"
[org.webjars.bower/eventsource-polyfill "0.9.7"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

EventSource Polyfill

Provide polyfill to support EventSource in browser where it is not available.

Installing

from source

Download suitable project archive (zip or tar.gz) from release page

Include in your html documents one of the following javascript file:

  • dist/eventsource.js
  • dist/eventsource.min.js (minified version)

Using bower package manager

To install package from bower registry, type :

bower install eventsource-polyfill

Include in your html documents one of the following javascript file:

  • bower_components/eventsource-polyfill/dist/eventsource.js
  • bower_components/eventsource-polyfill/dist/eventsource.min.js (minified version)

Using npm package manager

To install package from npm registry, type :

npm install eventsource-polyfill

Note that this package may only be used with in browser application.

If you are using browserify , you just have to require this package in your main module…

// load (Polyfill) EventSource, in case browser does not support it...
require('eventsource-polyfill');

Run the tests now

With your web browser visit this test site

Allow sufficient time ( ~ 5 minutes) for the full Test Suite to run…

Project content

dist/
built version of javascript modules

javascript/
Contains polyfill module and related unit tests

test_server/
python server which generates easy to test event stream

docs/
documentation wiki

Версии библиотеки

Версия
0.9.7
0.9.6