kopia lustrzana https://github.com/c9/core
Add chaining API
rodzic
a07928f48f
commit
3e1e0c054a
|
@ -34,7 +34,9 @@ define(function(require, exports, module) {
|
|||
});
|
||||
|
||||
function create(name, choices, options) {
|
||||
return outplan.create(name, choices, options);
|
||||
var experiment = outplan.create(name, choices, options);
|
||||
experiment.expose = expose.bind(null, name);
|
||||
return experiment;
|
||||
}
|
||||
|
||||
function expose(experimentName, overrideUserId, options) {
|
||||
|
|
Ładowanie…
Reference in New Issue