// Variables
window.dataLayer = [];
var currentOrganization = window.flOrganizations || [{
name: 'My Organization',
region: 'eu'
}];
var hashOrganizationName = currentOrganization[0].name.toLowerCase().replace(/\s/g, '');
var currentApp = window.flUserApp || {
id: 20666,
name: 'Report 2021',
slug: 'fliplet-my-new-app'
};
var hashAppName = currentApp.name.toLowerCase().replace(/\s/g, '');
var screeshotStyles = 'max-width:180px;padding:5px;';
var API_URL = {
eu: 'https://api.fliplet.com',
us: 'https://us.api.fliplet.com'
};
var mobileScreensURLs = [];
var tabletScreensURLs = []
var selectedType;
var typeMapping = [{
name: 'test',
template: {
heading: 'Promote your app for testing',
subject: 'Request for feedback on ' + currentApp.name + ' app',
content: '<p>Hi</p><p>I would like to invite you to help test our new ' + currentApp.name + ' app.</p><p>This app offers the following key features:</p><ol><li><strong><em>Adjust this list to suit your app</em></strong></li><li>List of people/products/services with powerful search, filter and bookmark</li><li>Interactive quiz about ...</li><li>Reference information about ...</li><li>App available for smartphones, tablets and web app available for computers</li><li>...</li><li>...</li><li>...</li></ol><p><strong><u>How do you test the app on Apple or Android devices?</u></strong></p><p class="screenshots-holder-phone"></p><p>I will invite you to access the app via Fliplet. Once I have done that you will receive an email including your username and password.</p><p>To test the app on Apple iOS or Google Android device:</p><ol><li>Install the Fliplet Viewer app from the <a href="https://apps.apple.com/app/apple-store/id1491961819?pt=913727&ct=promoteapptesting&mt=8" target="_blank">Apple App Store</a> or <a href="https://play.google.com/store/apps/details?id=com.fliplet&referrer=utm_source%3Dpromoteapptesting%26utm_campaign%3Ddownloadfv" target="_blank">Google Play</a></li><li>Load Fliplet...
Please Whitelist JSFiddle in your content blocker.
Help keep JSFiddle free for always by one of two ways:
Whitelist JSFiddle in your content blocker (two clicks)
Go PRO and get access to additional PRO features →
Join the 4+ million users, and keep the JSFiddle dream alive.
Ad-free
All ads in the editor and listing pages are turned completely off.
Use pre-released features
You get to try and use features (like the Palette Color Generator) months before everyone else.
Fiddle collections
Sort and categorize your Fiddles into multiple collections.
Private collections and fiddles
You can make as many Private Fiddles, and Private Collections as you wish!
Console
Debug your Fiddle with a minimal built-in JavaScript console.