kopia lustrzana https://github.com/c9/core
26 wiersze
540 B
JavaScript
26 wiersze
540 B
JavaScript
![]() |
/**
|
||
|
* Dummy implementation of experiments.
|
||
|
*/
|
||
|
"use strict";
|
||
|
|
||
|
plugin.consumes = [];
|
||
|
plugin.provides = ["experiment"];
|
||
|
|
||
|
module.exports = plugin;
|
||
|
|
||
|
function plugin(options, imports, register) {
|
||
|
|
||
|
register(null, {
|
||
|
"experiment": {
|
||
|
configureExperiment: function() {},
|
||
|
onStart: function() {
|
||
|
var chain = {
|
||
|
variation: function() {
|
||
|
return chain;
|
||
|
}
|
||
|
}
|
||
|
return chain;
|
||
|
}
|
||
|
}
|
||
|
});
|
||
|
}
|