Skip to content

Instantly share code, notes, and snippets.

View mitchdaniels's full-sized avatar

Mitch Daniels mitchdaniels

  • Teamworks
  • Durham, NC
View GitHub Profile
1.) Close the Craft Manager.
2.) Go into Sketch, and navigate to Plugins -> Manage Plugins.
3.) In the pop-up modal, select Craft, and click the gear icon in the lower left and select the uninstall option. This will move some items to the trash.
4.) Open the Activity Monitor, and force quit the Craft Manager and Panels (if applicable) processes.
5.) Open Spotlight and search for "~/Library/Application Support/"
6.) Delete the "com.invisionlabs.CraftManager" folder and "com.invisionlabs.CraftManager.json" file
7.) Open the "com.bohemiancoding.sketch3" folder
8.) Delete the "Panels" folder (if applicable)
9.) Open the "Plugins" folder
10.) Delete the "Panels.sketchplugin" file (if applicable)
<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-M23RW9"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-M23RW9');</script>
<!-- End Google Tag Manager -->
// Macro: "data-track-gtm - get from element"
// Returns: Boolean - does this element, or one of its parents, have a data-track-gtm attribute?
function() {
var isSet = function(val) {
return val !== null && val !== '';
};
var el = {{element}};
var val = el.getAttribute('data-track-gtm');
while (el && el !== document.body && !isSet(val)) {