it is used to embed gist to an asynchronously-loaded web pages.
<iframe
width="100%"
height="350"
src="data:text/html;charset=utf-8,
#!/usr/bin/env bash | |
# https://developers.supportbee.com/blog/setting-up-cucumber-to-run-with-Chrome-on-Linux/ | |
# https://gist.github.com/curtismcmullan/7be1a8c1c841a9d8db2c | |
# https://stackoverflow.com/questions/10792403/how-do-i-get-chrome-working-with-selenium-using-php-webdriver | |
# https://stackoverflow.com/questions/26133486/how-to-specify-binary-path-for-remote-chromedriver-in-codeception | |
# https://stackoverflow.com/questions/40262682/how-to-run-selenium-3-x-with-chrome-driver-through-terminal | |
# https://askubuntu.com/questions/760085/how-do-you-install-google-chrome-on-ubuntu-16-04 | |
# Versions | |
CHROME_DRIVER_VERSION=`curl -sS https://chromedriver.storage.googleapis.com/LATEST_RELEASE` |
var engine_js = { | |
"ErrorCode.-128": "Internal engine error", | |
"ErrorCode.-1": "Unknown error", | |
"ErrorCode.0": "Unknown error", | |
"ErrorCode.1": "Some data is not correctly specified.", | |
"ErrorCode.2": "The resource could not be found.", | |
"ErrorCode.3": "Resource already exists.", | |
"ErrorCode.4": "Invalid path", | |
"ErrorCode.5": "Access is denied", | |
"ErrorCode.6": "The system is out of memory.", |
// https://help.qlik.com/en-US/sense-developer/September2018/Subsystems/APIs/Content/Sense_ClientAPIs/CapabilityAPIs/SelectionAPI/qlik-selectionState-interface.htm | |
// here is a basic example of acquiring and working with the current selection | |
// state. Here we can get a list of all fields that have selections and what | |
// values have been selected for each field | |
var selectionState = app.selectionState() | |
var listener = function() { | |
var selections = selectionState.selections | |
// each item in the selectionState.selections is a field |