Sha256: 9f140023b662dcddd059465a556f34b7b4921fed094a15da131bbe77a9e18a27

Contents?: true

Size: 524 Bytes

Versions: 85

Compression:

Stored size: 524 Bytes

Contents

//Do some segue with two views (tp1 and tp2)
function if_segue_do(name, tp1, tp2) {
  console.log("if segue do");
  if (if_segue_name_to_call[name] === undefined) {
    throw "You have not registered a segue with the name: "+name;
  }

  $sel1 = if_ui_tp_to_selector[tp1];
  $sel2 = if_ui_tp_to_selector[tp2];
  if_segue_name_to_call[name]($sel1, $sel2);
}

//Your segue function should accept two views $sel1, $sel2
if_segue_name_to_call = {
}
function segue(name, call_this) {
  if_segue_name_to_call[name] = call_this;
}

Version data entries

85 entries across 85 versions & 1 rubygems

Version Path
flok-0.0.105 app/drivers/chrome/src/segue.js
flok-0.0.103 app/drivers/chrome/src/segue.js
flok-0.0.102 app/drivers/chrome/src/segue.js
flok-0.0.101 app/drivers/chrome/src/segue.js
flok-0.0.100 app/drivers/chrome/src/segue.js
flok-0.0.99 app/drivers/chrome/src/segue.js
flok-0.0.98 app/drivers/chrome/src/segue.js
flok-0.0.97 app/drivers/chrome/src/segue.js
flok-0.0.96 app/drivers/chrome/src/segue.js
flok-0.0.95 app/drivers/chrome/src/segue.js
flok-0.0.94 app/drivers/chrome/src/segue.js
flok-0.0.93 app/drivers/chrome/src/segue.js
flok-0.0.92 app/drivers/chrome/src/segue.js
flok-0.0.91 app/drivers/chrome/src/segue.js
flok-0.0.90 app/drivers/chrome/src/segue.js
flok-0.0.89 app/drivers/chrome/src/segue.js
flok-0.0.88 app/drivers/chrome/src/segue.js
flok-0.0.87 app/drivers/chrome/src/segue.js
flok-0.0.86 app/drivers/chrome/src/segue.js
flok-0.0.85 app/drivers/chrome/src/segue.js