Sha256: 56a18cee2ac249f50b40c6ddf4e3948bb790ac18e074c2b0259cfc3c2c498997

Contents?: true

Size: 1.05 KB

Versions: 6

Compression:

Stored size: 1.05 KB

Contents

function confirmReset() {
  var agree = confirm("This will delete all data for this experiment?");
  return agree ? true : false;
}

function confirmDelete() {
  var agree = confirm("Are you sure you want to delete this experiment and all its data?");
  return agree ? true : false;
}

function confirmWinner() {
  var agree = confirm("This will now be returned for all users. Are you sure?");
  return agree ? true : false;
}

function confirmStep(step) {
  var agree = confirm(step);
  return agree ? true : false;
}

function confirmReopen() {
  var agree = confirm("This will reopen the experiment. Are you sure?");
  return agree ? true : false;
}

function confirmEnableCohorting(){
  var agree = confirm("This will enable the cohorting of the experiment. Are you sure?");
  return agree ? true : false;
}

function confirmDisableCohorting(){
  var agree = confirm("This will disable the cohorting of the experiment. Note: Existing participants will continue to receive their alternative and may continue to convert. Are you sure?");
  return agree ? true : false;
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
split-4.0.4 lib/split/dashboard/public/dashboard.js
split-4.0.3 lib/split/dashboard/public/dashboard.js
split-4.0.2 lib/split/dashboard/public/dashboard.js
split-4.0.1 lib/split/dashboard/public/dashboard.js
split-4.0.0.pre2 lib/split/dashboard/public/dashboard.js
split-4.0.0.pre lib/split/dashboard/public/dashboard.js