Permalink
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (45 sloc) 1.31 KB
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap. -->
<link rel="stylesheet" href="index.css">
</head>
<body>
<!-- Link for clearing the local storage during dev and testing. -->
<a href="#" onclick="window.localStorage.clear();location.reload();">Forget Dismissed Messages</a>
<script>
/*
* Set the SorryAPI setting as a structure
* in the window which we can then inject as
* part of the initialization.
*/
window.SorryAPIOptions = {
/*
* Pass along a subscriber which will resgister
* them on the page as a subscriber and also
* filter the response from the API based on whether
* notices are targetted at them or not.
*/
subscriber: {
email: "robrawlins@gmail.com",
first_name: "Robert",
last_name: "Rawlins",
nickname: "Rob",
company: "Sorry™",
location_attributes: {
city: "Chichester",
state: "West Sussex",
coutry: "United Kingdom"
},
tag_list: "Founder,Developer,Technologist"
}
}
</script>
<!-- Load in our library. -->
<script src="dist/status-bar.min.js" data-for="f1ff551f"></script>
<!-- Third-party mock to test conflicts. -->
<script src="third-party-error.js"></script>
</body>
</html>