kopia lustrzana https://github.com/c9/core
Asking runners if a file is a test file
rodzic
df6d565e95
commit
c45aa912c7
|
@ -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",
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
Ładowanie…
Reference in New Issue