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