<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged require</title>
<link>https://overflow.efficy.io/?qa=tag/require</link>
<description>Powered by Question2Answer</description>
<item>
<title>Using custom action from User selection page</title>
<link>https://overflow.efficy.io/?qa=5127/using-custom-action-from-user-selection-page</link>
<description>&lt;p&gt;Dear all,&lt;/p&gt;

&lt;p&gt;For a customer we are using the dialog/Users.htm page with a custom action. When the page loads require is undefined when loading the require.config.js file with the overridden action.js. Require is in the Dialog scripts.&lt;/p&gt;

&lt;p&gt;Does anyone know of a way to get the overridden action.js?&lt;/p&gt;

&lt;p&gt;Best regards,&lt;/p&gt;

&lt;p&gt;Rob&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5127/using-custom-action-from-user-selection-page</guid>
<pubDate>Mon, 09 Dec 2019 15:58:05 +0000</pubDate>
</item>
<item>
<title>Override one function instead of whole module</title>
<link>https://overflow.efficy.io/?qa=356/override-one-function-instead-of-whole-module</link>
<description>&lt;p&gt;Is it possible to override one function in the module editView.js without overriding the whole module?&lt;/p&gt;
</description>
<category>Efficy Developers</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=356/override-one-function-instead-of-whole-module</guid>
<pubDate>Wed, 15 Apr 2015 15:26:06 +0000</pubDate>
</item>
<item>
<title>Shim config when library has a dependancy of a custom module</title>
<link>https://overflow.efficy.io/?qa=120/shim-config-when-library-has-a-dependancy-of-a-custom-module</link>
<description>&lt;p&gt;We use some non standard jquery plugins. &lt;br&gt;
I started out by wrapping the library in a define function and put jquery as a dependancy.&lt;br&gt;
But I did it like any other module and did not put it in the shim property because I slightly modified the standard library to use our custom translator module. &lt;/p&gt;

&lt;p&gt;So my question is: is there a better alternative if a jquery plugin depends on a &lt;strong&gt;custom&lt;/strong&gt; module other dan wrapping it in a define function like standard modules?&lt;/p&gt;
</description>
<category>Efficy Developers</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=120/shim-config-when-library-has-a-dependancy-of-a-custom-module</guid>
<pubDate>Mon, 01 Dec 2014 16:09:06 +0000</pubDate>
</item>
<item>
<title>Casing of variables in require.js define functions</title>
<link>https://overflow.efficy.io/?qa=110/casing-of-variables-in-require-js-define-functions</link>
<description>&lt;p&gt;
    Is there a particular reason why format is not starting with a capital, like the other variables for the libs?&lt;br&gt;
    Could someone explain (again) when should use PascalCasing or camelBackCasing?&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br&gt;
    define([&lt;/p&gt;&lt;br&gt;
&lt;div&gt;&lt;br&gt;
      'jquery',&lt;/div&gt;&lt;br&gt;
&lt;div&gt;&lt;br&gt;
      'paperboy',&lt;/div&gt;&lt;br&gt;
&lt;div&gt;&lt;br&gt;
      'base/constants',&lt;/div&gt;&lt;br&gt;
&lt;div&gt;&lt;br&gt;
      'base/model',&lt;/div&gt;&lt;br&gt;
&lt;div&gt;&lt;br&gt;
      'classes/commandListener',&lt;/div&gt;&lt;br&gt;
&lt;div&gt;&lt;br&gt;
    'base/browser',&lt;/div&gt;&lt;br&gt;
&lt;div&gt;&lt;br&gt;
      'utils/format',&lt;/div&gt;&lt;br&gt;
&lt;div&gt;&lt;br&gt;
      'utils/url'&lt;/div&gt;&lt;br&gt;
&lt;div&gt;&lt;br&gt;
    ], function($, Paperboy, Const, Model, CommandListener, Browser, format, Url) {&lt;/div&gt;
</description>
<category>Efficy Developers</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=110/casing-of-variables-in-require-js-define-functions</guid>
<pubDate>Sat, 15 Nov 2014 16:20:55 +0000</pubDate>
</item>
<item>
<title>Require.js load new module on every page</title>
<link>https://overflow.efficy.io/?qa=41/require-js-load-new-module-on-every-page</link>
<description>&lt;p&gt;I need to load a new module on every page.&lt;/p&gt;

&lt;p&gt;What is the best way to accomplish this?&lt;/p&gt;

&lt;p&gt;I can make sure that I add it as a dependancy to edit.js, consult.js, .. but is that the best way?&lt;/p&gt;
</description>
<category>Efficy Developers</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=41/require-js-load-new-module-on-every-page</guid>
<pubDate>Thu, 09 Oct 2014 10:10:11 +0000</pubDate>
</item>
<item>
<title>Optimization tool for require.js</title>
<link>https://overflow.efficy.io/?qa=15/optimization-tool-for-require-js</link>
<description>&lt;p&gt;Seperating everything into modules is ofcourse the way to go, but the more modules you have, the more http requests are fired. &lt;br&gt;
Assume a project goes live, should we think about using the optimizer for require.js to reduce the number of http requests and js payload when taking into account the possible performance gain?&lt;/p&gt;
</description>
<category>Efficy Developers</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=15/optimization-tool-for-require-js</guid>
<pubDate>Mon, 22 Sep 2014 10:13:53 +0000</pubDate>
</item>
</channel>
</rss>