(function (root, factory) {
  if (typeof exports === 'object') {
    // CommonJS
    module.exports = factory();
  } else if (typeof define === 'function' && define.amd) {
    // AMD
    define([], function () {
      return (root.returnExportsGlobal = factory());
    });
  } else {
    // Global Variables

    var snabbtjs = factory();
    root.snabbtjs = snabbtjs;
    root.snabbt = snabbtjs.snabbt;
    //root.returnExportsGlobal = factory();
  }
}(this, function () {


@@ -100,24 +100,31 @@
  = factory()
+.snabbt
 ;%0A  %7D else i
@@ -262,16 +262,23 @@
 actory()
+.snabbt
 );%0A    %7D
@@ -324,20 +324,19 @@
     
-var 
+root.
 snabbt
-js
  = f
@@ -347,117 +347,15 @@
 ry()
-;%0A    root.snabbtjs = snabbtjs;%0A    root.snabbt = snabbtjs.snabbt;%0A    //root.returnExportsGlobal = factory()
+.snabbt
 ;%0A  

Improve UMD boilerplate to export snabbt-function directly