Asking runners if a file is a test file

pull/223/head
Ruben Daniels 2015-09-23 22:39:06 -07:00
rodzic df6d565e95
commit c45aa912c7
2 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -108,6 +108,8 @@
"c9.ide.save": "#e00549cb0f", "c9.ide.save": "#e00549cb0f",
"c9.ide.scm": "#0bccfb982b", "c9.ide.scm": "#0bccfb982b",
"c9.ide.terminal.monitor": "#b76f1c9f24", "c9.ide.terminal.monitor": "#b76f1c9f24",
"c9.ide.test": "#bf476acc57",
"c9.ide.test.mocha": "#3f96974268",
"c9.ide.theme.flat": "#2de8414db7", "c9.ide.theme.flat": "#2de8414db7",
"c9.ide.threewaymerge": "#229382aa0b", "c9.ide.threewaymerge": "#229382aa0b",
"c9.ide.undo": "#b028bcb4d5", "c9.ide.undo": "#b028bcb4d5",

Wyświetl plik

@ -190,7 +190,7 @@ EventEmitter.prototype.on = EventEmitter.prototype.addListener;
* ``` * ```
*/ */
EventEmitter.prototype.once = function(type, listener) { EventEmitter.prototype.once = function(type, listener, plugin) {
var self = this; var self = this;
var wrapped = function() { var wrapped = function() {
@ -199,7 +199,7 @@ EventEmitter.prototype.once = function(type, listener) {
} }
wrapped.listener = listener; wrapped.listener = listener;
self.on(type, wrapped); self.on(type, wrapped, plugin);
return this; return this;
}; };