2015-04-25 22:03:32 +00:00
|
|
|
/**
|
|
|
|
* Dummy implementation of experiments.
|
|
|
|
*/
|
|
|
|
"use strict";
|
|
|
|
|
|
|
|
plugin.consumes = [];
|
|
|
|
plugin.provides = ["experiment"];
|
|
|
|
|
|
|
|
module.exports = plugin;
|
|
|
|
|
|
|
|
function plugin(options, imports, register) {
|
|
|
|
|
|
|
|
register(null, {
|
|
|
|
"experiment": {
|
2015-04-28 10:42:59 +00:00
|
|
|
configure: function() {},
|
2015-04-25 22:03:32 +00:00
|
|
|
onStart: function() {
|
|
|
|
var chain = {
|
|
|
|
variation: function() {
|
|
|
|
return chain;
|
|
|
|
}
|
2015-04-28 10:42:59 +00:00
|
|
|
};
|
2015-04-25 22:03:32 +00:00
|
|
|
return chain;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|