diff --git a/plugins/c9.ide.experiment/mock_experiment.js b/plugins/c9.ide.experiment/mock_experiment.js index bebfb134..e3b80734 100644 --- a/plugins/c9.ide.experiment/mock_experiment.js +++ b/plugins/c9.ide.experiment/mock_experiment.js @@ -12,13 +12,13 @@ function plugin(options, imports, register) { register(null, { "experiment": { - configureExperiment: function() {}, + configure: function() {}, onStart: function() { var chain = { variation: function() { return chain; } - } + }; return chain; } } diff --git a/plugins/c9.vfs.standalone/www/test.js b/plugins/c9.vfs.standalone/www/test.js index ae30803d..cce8b53b 100644 --- a/plugins/c9.vfs.standalone/www/test.js +++ b/plugins/c9.vfs.standalone/www/test.js @@ -155,6 +155,9 @@ require([ prefs.add = function(){}; return prefs; })(), + analytics: { + addTrait: function() {} + }, commands: (function(){ var commands = {};