Module: Kameleoon::Hybrid

Defined in:
lib/kameleoon/hybrid/manager.rb

Defined Under Namespace

Classes: Manager, ManagerImpl

Constant Summary collapse

TC_INIT =
'window.kameleoonQueue=window.kameleoonQueue||[];'
TC_ASSIGN_VARIATION_FORMAT =
"window.kameleoonQueue.push(['Experiments.assignVariation',%d,%d,true]);"
TC_TRIGGER_FORMAT =
"window.kameleoonQueue.push(['Experiments.trigger',%d,%s]);"
TC_ASSIGN_VARIATION_TRIGGER_FORMAT =
TC_ASSIGN_VARIATION_FORMAT + TC_TRIGGER_FORMAT