Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Modify method comments

Ryunosuke SATO14d6033f0aa8
diff --git a/lib/browser/events.js b/lib/browser/events.js
index 4d94ee10..cfbd0720 100644
--- a/lib/browser/events.js
+++ b/lib/browser/events.js
@@ -16,7 +16,7 @@ function isArray(obj) {
/**
* Event emitter constructor.
*
- * @api public.
+ * @api public
*/
function EventEmitter(){};
@@ -124,7 +124,7 @@ EventEmitter.prototype.removeAllListeners = function (name) {
/**
* Gets all listeners for a certain event.
*
- * @api publci
+ * @api public
*/
EventEmitter.prototype.listeners = function (name) {
diff --git a/mocha.js b/mocha.js
index a77a9a04..45a0005d 100644
--- a/mocha.js
+++ b/mocha.js
@@ -80,7 +80,7 @@ function isArray(obj) {
/**
* Event emitter constructor.
*
- * @api public.
+ * @api public
*/
function EventEmitter(){};
@@ -188,7 +188,7 @@ EventEmitter.prototype.removeAllListeners = function (name) {
/**
* Gets all listeners for a certain event.
*
- * @api publci
+ * @api public
*/
EventEmitter.prototype.listeners = function (name) {