title: Why my function declared in requirejs is not collable
body: <p>Bellow, my example and it works fine, I mean when I refresh my page, I get output printed to the console <code>Hi f1.</code> and <code>Hi f2.</code> respectively, but, the thing that I'm not understanding is: when I try for example to execute this function <code>f1()</code> in browser console, I can't, I tried <code>f1()</code>, <code>module.f1()</code> he told me <code>function undefined</code> while at the beginning all the functions were well loaded.</p>
  
  <p>Do you know why and what to do to make it callable?</p>
  
  <p><strong>requirejs-config.js</strong></p>
  
  <pre><code>var config = {
      map: {
          '*': {
              module: 'Vendor_module/js/go',
          }
      }
  };
  </code></pre>
  
  <p><strong>go.js</strong></p>
  
  <pre><code>define(['jquery', 'domReady!'], function($, doc) {
      'use strict';
  
      function f1() {
          console.log('Hi f1.');
      }
  
      function f2() {
          console.log('Hi f2.');
      }
  
  
      return {
          f1: f1,
          f2: f2
      }
  });
  </code></pre>
  
  <p><strong>file.html</strong></p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  require(['jquery', 'domReady!', 'module'], function($, doc, module) {
      'use strict';
  
      module.f1(); //output well Hi f1.
      module.f2(); // output well Hi f2.
  });
  &lt;/script&gt;
  </code></pre>