在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:Olical/EventEmitter开源软件地址:https://github.com/Olical/EventEmitter开源编程语言:JavaScript 98.0%开源软件介绍:EventEmitterEvent based JavaScript for the browserAs the subtitle suggests, this script brings the power of events from platforms such as node.js to your browser. Although it can be used on any other platform, I just built it with browsers in mind. This is actually the fourth full rewrite of EventEmitter, my aim is for it to be faster and lighter than ever before. It also has a remapped API which just makes a lot more sense. Because the methods now have more descriptive names it is friendlier to extend EventEmitter into other classes. You will be able to distinguish event methods from your own methods. I have been working on it for over DependenciesThere are no hard dependencies. The only reason you will want to run DocumentationExamplesTestingTests are performed using Mocha and Chai, just serve up the directory using your local HTTP server of choice (http-server is probably a good choice) and open up Building the documentationYou can run MinifyingYou can grab minified versions of EventEmitter from inside this repository, every version is tagged. If you need to build a custom version then you can run CloningYou can clone the repository with your generic clone commands as a standalone repository or submodule. # Full repository
git clone git://github.com/Olical/EventEmitter.git
# Or submodule
git submodule add git://github.com/Olical/EventEmitter.git assets/js/EventEmitter Package managersYou can also get a copy of EventEmitter through the following package managers: UnlicenseThis project used to be released under MIT, but I release everything under the Unlicense now. Here's the gist of it but you can find the full thing in the
I gave people the chance to object in issue #84, which also explains my reasoning. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论