(function CalciteMarketing () {
  // ┌────────────┐
  // │ Public API │
  // └────────────┘
  // define all public api methods (excluding patterns)
  var marketing = {
    imageSwitcher: imageSwitcher,
    carousel: carousel
  };

  function imageSwitcher () {
    console.log('please do image switcher');
  }

  function carousel () {
    console.log('please do carousel');
  }

  // ┌────────────────┐
  // │ Expose Calcite │
  // └────────────────┘
  // make calcite available to amd, common-js, or globally
  if (typeof exports === 'object') {
    module.exports = marketing;
  } else {
    // if something called marketing already exists,
    // save it for recovery via marketing.noConflict()
    var oldmarketing = window.marketing;
    marketing.noConflict = function () {
      window.marketing = oldmarketing;
      return this;
    };
    window.marketing = marketing;
  }
})();

@@ -1,9 +1,8 @@
-(
 function
@@ -6,311 +6,37 @@
 ion 
-CalciteMarketing () %7B%0A  // %E2%94%8C%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%90%0A  // %E2%94%82 Public API %E2%94%82%0A  // %E2%94%94%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%98%0A  // define all public api methods (excluding patterns)%0A  var marketing = %7B%0A    imageSwitcher: imageSwitcher,%0A    carousel: carousel%0A  %7D;%0A%0A  function imageSwitcher () %7B%0A    console.log('please do image switche
+foo () %7B%0A  return 'ba
 r'
-)
 ;%0A
-  
 %7D%0A%0A
-  
+(
 func
@@ -44,554 +44,311 @@
 ion 
-carousel () %7B%0A    console.log('please do carousel');%0A  %7D%0A%0A  // %E2%94%8C%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%90%0A  // %E2%94%82 Expose Calcite %E2%94%82%0A  // %E2%94%94%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%98%0A  // make calcite available to amd, common-js, or globally%0A  if (typeof exports === 'object') %7B%0A    module.exports = marketing;%0A  %7D else %7B%0A    // if something called marketing already exists,%0A    // save it for recovery via marketing.noConflict()%0A    var oldmarketing = window.marketing;%0A    marketing.noConflict = function () %7B%0A      window.marketing = oldmarketing;%0A      return this;%0A    %7D;%0A    window.marketing =
+(global, factory) %7B%0A  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory()%0A  : typeof define === 'function' && define.amd ? define(factory)%0A  : (global.calciteMarketing = factory());%0A%7D(this, function () %7B 'use strict';%0A%0A  var marketing = %7B%0A    foo: foo%0A  %7D%0A%0A  return
  mar
@@ -357,16 +357,10 @@
 ting
-;%0A  %7D
+%0A
 %0A%7D)
-(
 );
-%0A

clean that