docs: function transform(index, source) {
  
          var prefix = depsPoolName + "[" + index + "]",
              pattern = /(?:\/\*(?:[\s\S](?!\*\/))*?[\s\S]?\*\/\s*$)|(?:\/\/[^\n]*\s*$)/,
              lastIndex = -1,
              tailSource = null,
              tmpSource = null,
              match = null;
  
          source = source.replace(/\bdefine\s*\(\s*(?:("|')([\s\S]+?)\1\s*,\s*)?/g, prefix + "={\nvalue: ");
  
          tmpSource = source;
          while (pattern.test(tmpSource)) {
              tmpSource = tmpSource.replace(pattern, '');
          }
  
          lastIndex = tmpSource.lastIndexOf(')');
  
          tailSource = source.substring(lastIndex);
  
          source = source.substring(0, lastIndex);
  
          return source + tailSource.replace(/\)\s*;?/, '};');
  
      }