Skip to content

Instantly share code, notes, and snippets.

$.getScript("https://mandrillapp.com/api/docs/js/mandrill.js")
.done(function(script, textStatus) {
console.log(textStatus);
})
.fail(function(jqxhr, settings, exception) {
console.log("Triggered ajaxError handler.");
});
// Create a function to log the response from the Mandrill API
function log(obj) {
<style>
.branding-below {
bottom: 56px;
top: 0;
}
.branding-text {
left: 7px;
position: relative;
top: 3px;
<html>
<head>
<head>
<link rel="stylesheet" href="https://ssl.gstatic.com/docs/script/css/add-ons1.css">
<?!= HtmlService.createHtmlOutputFromFile('CSS_Sidebar').getContent(); ?>
</head>
</head>
function onInstall(e) {
onOpen(e);
}
function onOpen(e) {
DocumentApp.getUi().createAddonMenu()
.addItem('Add Rules', 'showSidebar')
.addToUi();
currentSet("Default");