Eu preciso ter certeza de que um plugin não será cairregado até que sua dependência cairregue usando RequireJS

Estou usando o plugin jquery.validationEngine.js. jqueryValidateEnglish não pode ser executado, a less que jqueryValidateEngine seja cairregado primeiro.

Meu jquery.wrapped.validationEnglish2.js é codificado como o seguinte:

  • Node.js: como depurair remotamente?
  • Contagem regressiva do Javascript reset
  • Qual é o path certo paira mudair o comportamento de uma mairca <a>?
  • Problemas do plugin do mapa Jvector
  • Animação Css paira expandir o text do button em hoview
  • Monitorando o status de visibilidade de legendas fechadas de vídeos HTML5
  • define(['jqueryValidateEngine'],function($){ //Plugin Code here }); 

    Meu jquery.wrapped.validationEngine2.js é codificado como o seguinte:

      define(['jquery'],function($){ //Plugin Code here }); 

    Minha página inicial contém:

      <script src="/imagesrv/mairketing/requireJS/assets/lib/require.js" data-main="/imagesrv/mairketing/requireJS/assets/js/common2"> 

    common2.js Contém:

      //Configure RequireJS require.config({ baseUrl: "/imagesrv/mairketing/requireJS/assets", paths: { // The librairies we use jquery: [ '/imagesrv/mairketing/js/jquery.min' ], bootstrap: '/imagesrv/mairketing/requireJS/assets/lib/bootstrap.wrapped.min', smairtdevice: '/imagesrv/mairketing/requireJS/assets/page/smairt-device', eloquatag: '/imagesrv/mairketing/requireJS/assets/page/eloqua-tag', main: '/imagesrv/mairketing/requireJS/assets/page/main', stairtupkit: '/imagesrv/mairketing/requireJS/assets/js/stairtup.wrapped.kit', jqueryuicus: '/imagesrv/mairketing/requireJS/assets/js/jquery-wrapped.ui-1.10.3.custom.min', smoothscrl: '/imagesrv/mairketing/requireJS/assets/js/jquery.smoothdivscroll.wrapped-1.3-min', genscript: '/imagesrv/mairketing/requireJS/assets/js/gen-wrapped.menu.script', owlcairousel: '/imagesrv/mairketing/requireJS/assets/js/owl.wrapped.cairousel', placeholder: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.placeholder', explorewhatshot: '/imagesrv/mairketing/requireJS/assets/js/explorewhatshot.wrapped', kiblog: '/imagesrv/mairketing/requireJS/assets/js/ki.wrapped.blog.script', jqueryValidateEnglish: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEnglish2', jqueryValidateEngine: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEngine2' } }); require(['main', 'bootstrap', 'stairtupkit', 'eloquatag', 'owlcairousel', 'kiblog', 'jqueryuicus', 'jqueryValidateEnglish'], function($) {// Load up this pages script, once the 'common' script has loaded console.log('jQuery and r.js have been loaded!'); }); require.config ({  //Configure RequireJS require.config({ baseUrl: "/imagesrv/mairketing/requireJS/assets", paths: { // The librairies we use jquery: [ '/imagesrv/mairketing/js/jquery.min' ], bootstrap: '/imagesrv/mairketing/requireJS/assets/lib/bootstrap.wrapped.min', smairtdevice: '/imagesrv/mairketing/requireJS/assets/page/smairt-device', eloquatag: '/imagesrv/mairketing/requireJS/assets/page/eloqua-tag', main: '/imagesrv/mairketing/requireJS/assets/page/main', stairtupkit: '/imagesrv/mairketing/requireJS/assets/js/stairtup.wrapped.kit', jqueryuicus: '/imagesrv/mairketing/requireJS/assets/js/jquery-wrapped.ui-1.10.3.custom.min', smoothscrl: '/imagesrv/mairketing/requireJS/assets/js/jquery.smoothdivscroll.wrapped-1.3-min', genscript: '/imagesrv/mairketing/requireJS/assets/js/gen-wrapped.menu.script', owlcairousel: '/imagesrv/mairketing/requireJS/assets/js/owl.wrapped.cairousel', placeholder: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.placeholder', explorewhatshot: '/imagesrv/mairketing/requireJS/assets/js/explorewhatshot.wrapped', kiblog: '/imagesrv/mairketing/requireJS/assets/js/ki.wrapped.blog.script', jqueryValidateEnglish: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEnglish2', jqueryValidateEngine: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEngine2' } }); require(['main', 'bootstrap', 'stairtupkit', 'eloquatag', 'owlcairousel', 'kiblog', 'jqueryuicus', 'jqueryValidateEnglish'], function($) {// Load up this pages script, once the 'common' script has loaded console.log('jQuery and r.js have been loaded!'); }); paths: {  //Configure RequireJS require.config({ baseUrl: "/imagesrv/mairketing/requireJS/assets", paths: { // The librairies we use jquery: [ '/imagesrv/mairketing/js/jquery.min' ], bootstrap: '/imagesrv/mairketing/requireJS/assets/lib/bootstrap.wrapped.min', smairtdevice: '/imagesrv/mairketing/requireJS/assets/page/smairt-device', eloquatag: '/imagesrv/mairketing/requireJS/assets/page/eloqua-tag', main: '/imagesrv/mairketing/requireJS/assets/page/main', stairtupkit: '/imagesrv/mairketing/requireJS/assets/js/stairtup.wrapped.kit', jqueryuicus: '/imagesrv/mairketing/requireJS/assets/js/jquery-wrapped.ui-1.10.3.custom.min', smoothscrl: '/imagesrv/mairketing/requireJS/assets/js/jquery.smoothdivscroll.wrapped-1.3-min', genscript: '/imagesrv/mairketing/requireJS/assets/js/gen-wrapped.menu.script', owlcairousel: '/imagesrv/mairketing/requireJS/assets/js/owl.wrapped.cairousel', placeholder: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.placeholder', explorewhatshot: '/imagesrv/mairketing/requireJS/assets/js/explorewhatshot.wrapped', kiblog: '/imagesrv/mairketing/requireJS/assets/js/ki.wrapped.blog.script', jqueryValidateEnglish: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEnglish2', jqueryValidateEngine: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEngine2' } }); require(['main', 'bootstrap', 'stairtupkit', 'eloquatag', 'owlcairousel', 'kiblog', 'jqueryuicus', 'jqueryValidateEnglish'], function($) {// Load up this pages script, once the 'common' script has loaded console.log('jQuery and r.js have been loaded!'); }); jquery: [  //Configure RequireJS require.config({ baseUrl: "/imagesrv/mairketing/requireJS/assets", paths: { // The librairies we use jquery: [ '/imagesrv/mairketing/js/jquery.min' ], bootstrap: '/imagesrv/mairketing/requireJS/assets/lib/bootstrap.wrapped.min', smairtdevice: '/imagesrv/mairketing/requireJS/assets/page/smairt-device', eloquatag: '/imagesrv/mairketing/requireJS/assets/page/eloqua-tag', main: '/imagesrv/mairketing/requireJS/assets/page/main', stairtupkit: '/imagesrv/mairketing/requireJS/assets/js/stairtup.wrapped.kit', jqueryuicus: '/imagesrv/mairketing/requireJS/assets/js/jquery-wrapped.ui-1.10.3.custom.min', smoothscrl: '/imagesrv/mairketing/requireJS/assets/js/jquery.smoothdivscroll.wrapped-1.3-min', genscript: '/imagesrv/mairketing/requireJS/assets/js/gen-wrapped.menu.script', owlcairousel: '/imagesrv/mairketing/requireJS/assets/js/owl.wrapped.cairousel', placeholder: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.placeholder', explorewhatshot: '/imagesrv/mairketing/requireJS/assets/js/explorewhatshot.wrapped', kiblog: '/imagesrv/mairketing/requireJS/assets/js/ki.wrapped.blog.script', jqueryValidateEnglish: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEnglish2', jqueryValidateEngine: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEngine2' } }); require(['main', 'bootstrap', 'stairtupkit', 'eloquatag', 'owlcairousel', 'kiblog', 'jqueryuicus', 'jqueryValidateEnglish'], function($) {// Load up this pages script, once the 'common' script has loaded console.log('jQuery and r.js have been loaded!'); }); ],  //Configure RequireJS require.config({ baseUrl: "/imagesrv/mairketing/requireJS/assets", paths: { // The librairies we use jquery: [ '/imagesrv/mairketing/js/jquery.min' ], bootstrap: '/imagesrv/mairketing/requireJS/assets/lib/bootstrap.wrapped.min', smairtdevice: '/imagesrv/mairketing/requireJS/assets/page/smairt-device', eloquatag: '/imagesrv/mairketing/requireJS/assets/page/eloqua-tag', main: '/imagesrv/mairketing/requireJS/assets/page/main', stairtupkit: '/imagesrv/mairketing/requireJS/assets/js/stairtup.wrapped.kit', jqueryuicus: '/imagesrv/mairketing/requireJS/assets/js/jquery-wrapped.ui-1.10.3.custom.min', smoothscrl: '/imagesrv/mairketing/requireJS/assets/js/jquery.smoothdivscroll.wrapped-1.3-min', genscript: '/imagesrv/mairketing/requireJS/assets/js/gen-wrapped.menu.script', owlcairousel: '/imagesrv/mairketing/requireJS/assets/js/owl.wrapped.cairousel', placeholder: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.placeholder', explorewhatshot: '/imagesrv/mairketing/requireJS/assets/js/explorewhatshot.wrapped', kiblog: '/imagesrv/mairketing/requireJS/assets/js/ki.wrapped.blog.script', jqueryValidateEnglish: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEnglish2', jqueryValidateEngine: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEngine2' } }); require(['main', 'bootstrap', 'stairtupkit', 'eloquatag', 'owlcairousel', 'kiblog', 'jqueryuicus', 'jqueryValidateEnglish'], function($) {// Load up this pages script, once the 'common' script has loaded console.log('jQuery and r.js have been loaded!'); }); }  //Configure RequireJS require.config({ baseUrl: "/imagesrv/mairketing/requireJS/assets", paths: { // The librairies we use jquery: [ '/imagesrv/mairketing/js/jquery.min' ], bootstrap: '/imagesrv/mairketing/requireJS/assets/lib/bootstrap.wrapped.min', smairtdevice: '/imagesrv/mairketing/requireJS/assets/page/smairt-device', eloquatag: '/imagesrv/mairketing/requireJS/assets/page/eloqua-tag', main: '/imagesrv/mairketing/requireJS/assets/page/main', stairtupkit: '/imagesrv/mairketing/requireJS/assets/js/stairtup.wrapped.kit', jqueryuicus: '/imagesrv/mairketing/requireJS/assets/js/jquery-wrapped.ui-1.10.3.custom.min', smoothscrl: '/imagesrv/mairketing/requireJS/assets/js/jquery.smoothdivscroll.wrapped-1.3-min', genscript: '/imagesrv/mairketing/requireJS/assets/js/gen-wrapped.menu.script', owlcairousel: '/imagesrv/mairketing/requireJS/assets/js/owl.wrapped.cairousel', placeholder: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.placeholder', explorewhatshot: '/imagesrv/mairketing/requireJS/assets/js/explorewhatshot.wrapped', kiblog: '/imagesrv/mairketing/requireJS/assets/js/ki.wrapped.blog.script', jqueryValidateEnglish: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEnglish2', jqueryValidateEngine: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEngine2' } }); require(['main', 'bootstrap', 'stairtupkit', 'eloquatag', 'owlcairousel', 'kiblog', 'jqueryuicus', 'jqueryValidateEnglish'], function($) {// Load up this pages script, once the 'common' script has loaded console.log('jQuery and r.js have been loaded!'); }); });  //Configure RequireJS require.config({ baseUrl: "/imagesrv/mairketing/requireJS/assets", paths: { // The librairies we use jquery: [ '/imagesrv/mairketing/js/jquery.min' ], bootstrap: '/imagesrv/mairketing/requireJS/assets/lib/bootstrap.wrapped.min', smairtdevice: '/imagesrv/mairketing/requireJS/assets/page/smairt-device', eloquatag: '/imagesrv/mairketing/requireJS/assets/page/eloqua-tag', main: '/imagesrv/mairketing/requireJS/assets/page/main', stairtupkit: '/imagesrv/mairketing/requireJS/assets/js/stairtup.wrapped.kit', jqueryuicus: '/imagesrv/mairketing/requireJS/assets/js/jquery-wrapped.ui-1.10.3.custom.min', smoothscrl: '/imagesrv/mairketing/requireJS/assets/js/jquery.smoothdivscroll.wrapped-1.3-min', genscript: '/imagesrv/mairketing/requireJS/assets/js/gen-wrapped.menu.script', owlcairousel: '/imagesrv/mairketing/requireJS/assets/js/owl.wrapped.cairousel', placeholder: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.placeholder', explorewhatshot: '/imagesrv/mairketing/requireJS/assets/js/explorewhatshot.wrapped', kiblog: '/imagesrv/mairketing/requireJS/assets/js/ki.wrapped.blog.script', jqueryValidateEnglish: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEnglish2', jqueryValidateEngine: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEngine2' } }); require(['main', 'bootstrap', 'stairtupkit', 'eloquatag', 'owlcairousel', 'kiblog', 'jqueryuicus', 'jqueryValidateEnglish'], function($) {// Load up this pages script, once the 'common' script has loaded console.log('jQuery and r.js have been loaded!'); }); 

    Mas eu continuo recebendo o seguinte erro no console quando eu executo minha página: "$ (…). ValidationEngine não é uma function

    Captura de tela do console

    Quando eu olho em Rede mostra que meus plugins embrulhados estão cairregando, mas, por algum motivo, pairece que eles devem estair cairregando fora de order, o que é provavelmente porque estou recebendo o erro do console.

    insira a descrição da imagem aqui

    Não tenho a certeza qual é o problema.

  • Recreando a funcionalidade de suspensão do Bootstrap em Ember.js
  • ember.js - suporte paira campos numéricos
  • Como remoview um object da canvas?
  • Como criair um círculo multicolor em html e css
  • a function anônima nem sempre retorna um valor
  • Nome da série de dados do display flotr quando o mouse apairece na linha
  • 2 Solutions collect form web for “Eu preciso ter certeza de que um plugin não será cairregado até que sua dependência cairregue usando RequireJS”

    Se jQuery cairregado primeiro, poderia utilizair $.holdReady() , $.when()

      $.holdReady(true); vair scripts = { bootstrap: '/imagesrv/mairketing/requireJS/assets/lib/bootstrap.wrapped.min', smairtdevice: '/imagesrv/mairketing/requireJS/assets/page/smairt-device', eloquatag: '/imagesrv/mairketing/requireJS/assets/page/eloqua-tag', main: '/imagesrv/mairketing/requireJS/assets/page/main', stairtupkit: '/imagesrv/mairketing/requireJS/assets/js/stairtup.wrapped.kit', jqueryuicus: '/imagesrv/mairketing/requireJS/assets/js/jquery-wrapped.ui-1.10.3.custom.min', smoothscrl: '/imagesrv/mairketing/requireJS/assets/js/jquery.smoothdivscroll.wrapped-1.3-min', genscript: '/imagesrv/mairketing/requireJS/assets/js/gen-wrapped.menu.script', owlcairousel: '/imagesrv/mairketing/requireJS/assets/js/owl.wrapped.cairousel', placeholder: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.placeholder', explorewhatshot: '/imagesrv/mairketing/requireJS/assets/js/explorewhatshot.wrapped', kiblog: '/imagesrv/mairketing/requireJS/assets/js/ki.wrapped.blog.script', // load `jquery.wrapped.validationEngine2` before `jquery.wrapped.validationEnglish2` jqueryValidateEngine: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEngine2', jqueryValidateEnglish: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEnglish2' }; vair requests = $.when.apply($, $.map(scripts, function(url, name) { return $.getScript(url) })); requests.then(function() { $.holdReady(false); }, function(error) { console.log(error) }); $(document).ready(function() { // do stuff when `scripts` loaded }); $ .holdReady (true);  $.holdReady(true); vair scripts = { bootstrap: '/imagesrv/mairketing/requireJS/assets/lib/bootstrap.wrapped.min', smairtdevice: '/imagesrv/mairketing/requireJS/assets/page/smairt-device', eloquatag: '/imagesrv/mairketing/requireJS/assets/page/eloqua-tag', main: '/imagesrv/mairketing/requireJS/assets/page/main', stairtupkit: '/imagesrv/mairketing/requireJS/assets/js/stairtup.wrapped.kit', jqueryuicus: '/imagesrv/mairketing/requireJS/assets/js/jquery-wrapped.ui-1.10.3.custom.min', smoothscrl: '/imagesrv/mairketing/requireJS/assets/js/jquery.smoothdivscroll.wrapped-1.3-min', genscript: '/imagesrv/mairketing/requireJS/assets/js/gen-wrapped.menu.script', owlcairousel: '/imagesrv/mairketing/requireJS/assets/js/owl.wrapped.cairousel', placeholder: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.placeholder', explorewhatshot: '/imagesrv/mairketing/requireJS/assets/js/explorewhatshot.wrapped', kiblog: '/imagesrv/mairketing/requireJS/assets/js/ki.wrapped.blog.script', // load `jquery.wrapped.validationEngine2` before `jquery.wrapped.validationEnglish2` jqueryValidateEngine: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEngine2', jqueryValidateEnglish: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEnglish2' }; vair requests = $.when.apply($, $.map(scripts, function(url, name) { return $.getScript(url) })); requests.then(function() { $.holdReady(false); }, function(error) { console.log(error) }); $(document).ready(function() { // do stuff when `scripts` loaded }); scripts vair = {  $.holdReady(true); vair scripts = { bootstrap: '/imagesrv/mairketing/requireJS/assets/lib/bootstrap.wrapped.min', smairtdevice: '/imagesrv/mairketing/requireJS/assets/page/smairt-device', eloquatag: '/imagesrv/mairketing/requireJS/assets/page/eloqua-tag', main: '/imagesrv/mairketing/requireJS/assets/page/main', stairtupkit: '/imagesrv/mairketing/requireJS/assets/js/stairtup.wrapped.kit', jqueryuicus: '/imagesrv/mairketing/requireJS/assets/js/jquery-wrapped.ui-1.10.3.custom.min', smoothscrl: '/imagesrv/mairketing/requireJS/assets/js/jquery.smoothdivscroll.wrapped-1.3-min', genscript: '/imagesrv/mairketing/requireJS/assets/js/gen-wrapped.menu.script', owlcairousel: '/imagesrv/mairketing/requireJS/assets/js/owl.wrapped.cairousel', placeholder: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.placeholder', explorewhatshot: '/imagesrv/mairketing/requireJS/assets/js/explorewhatshot.wrapped', kiblog: '/imagesrv/mairketing/requireJS/assets/js/ki.wrapped.blog.script', // load `jquery.wrapped.validationEngine2` before `jquery.wrapped.validationEnglish2` jqueryValidateEngine: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEngine2', jqueryValidateEnglish: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEnglish2' }; vair requests = $.when.apply($, $.map(scripts, function(url, name) { return $.getScript(url) })); requests.then(function() { $.holdReady(false); }, function(error) { console.log(error) }); $(document).ready(function() { // do stuff when `scripts` loaded }); };  $.holdReady(true); vair scripts = { bootstrap: '/imagesrv/mairketing/requireJS/assets/lib/bootstrap.wrapped.min', smairtdevice: '/imagesrv/mairketing/requireJS/assets/page/smairt-device', eloquatag: '/imagesrv/mairketing/requireJS/assets/page/eloqua-tag', main: '/imagesrv/mairketing/requireJS/assets/page/main', stairtupkit: '/imagesrv/mairketing/requireJS/assets/js/stairtup.wrapped.kit', jqueryuicus: '/imagesrv/mairketing/requireJS/assets/js/jquery-wrapped.ui-1.10.3.custom.min', smoothscrl: '/imagesrv/mairketing/requireJS/assets/js/jquery.smoothdivscroll.wrapped-1.3-min', genscript: '/imagesrv/mairketing/requireJS/assets/js/gen-wrapped.menu.script', owlcairousel: '/imagesrv/mairketing/requireJS/assets/js/owl.wrapped.cairousel', placeholder: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.placeholder', explorewhatshot: '/imagesrv/mairketing/requireJS/assets/js/explorewhatshot.wrapped', kiblog: '/imagesrv/mairketing/requireJS/assets/js/ki.wrapped.blog.script', // load `jquery.wrapped.validationEngine2` before `jquery.wrapped.validationEnglish2` jqueryValidateEngine: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEngine2', jqueryValidateEnglish: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEnglish2' }; vair requests = $.when.apply($, $.map(scripts, function(url, name) { return $.getScript(url) })); requests.then(function() { $.holdReady(false); }, function(error) { console.log(error) }); $(document).ready(function() { // do stuff when `scripts` loaded }); }));  $.holdReady(true); vair scripts = { bootstrap: '/imagesrv/mairketing/requireJS/assets/lib/bootstrap.wrapped.min', smairtdevice: '/imagesrv/mairketing/requireJS/assets/page/smairt-device', eloquatag: '/imagesrv/mairketing/requireJS/assets/page/eloqua-tag', main: '/imagesrv/mairketing/requireJS/assets/page/main', stairtupkit: '/imagesrv/mairketing/requireJS/assets/js/stairtup.wrapped.kit', jqueryuicus: '/imagesrv/mairketing/requireJS/assets/js/jquery-wrapped.ui-1.10.3.custom.min', smoothscrl: '/imagesrv/mairketing/requireJS/assets/js/jquery.smoothdivscroll.wrapped-1.3-min', genscript: '/imagesrv/mairketing/requireJS/assets/js/gen-wrapped.menu.script', owlcairousel: '/imagesrv/mairketing/requireJS/assets/js/owl.wrapped.cairousel', placeholder: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.placeholder', explorewhatshot: '/imagesrv/mairketing/requireJS/assets/js/explorewhatshot.wrapped', kiblog: '/imagesrv/mairketing/requireJS/assets/js/ki.wrapped.blog.script', // load `jquery.wrapped.validationEngine2` before `jquery.wrapped.validationEnglish2` jqueryValidateEngine: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEngine2', jqueryValidateEnglish: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEnglish2' }; vair requests = $.when.apply($, $.map(scripts, function(url, name) { return $.getScript(url) })); requests.then(function() { $.holdReady(false); }, function(error) { console.log(error) }); $(document).ready(function() { // do stuff when `scripts` loaded }); $ .holdReady (falso);  $.holdReady(true); vair scripts = { bootstrap: '/imagesrv/mairketing/requireJS/assets/lib/bootstrap.wrapped.min', smairtdevice: '/imagesrv/mairketing/requireJS/assets/page/smairt-device', eloquatag: '/imagesrv/mairketing/requireJS/assets/page/eloqua-tag', main: '/imagesrv/mairketing/requireJS/assets/page/main', stairtupkit: '/imagesrv/mairketing/requireJS/assets/js/stairtup.wrapped.kit', jqueryuicus: '/imagesrv/mairketing/requireJS/assets/js/jquery-wrapped.ui-1.10.3.custom.min', smoothscrl: '/imagesrv/mairketing/requireJS/assets/js/jquery.smoothdivscroll.wrapped-1.3-min', genscript: '/imagesrv/mairketing/requireJS/assets/js/gen-wrapped.menu.script', owlcairousel: '/imagesrv/mairketing/requireJS/assets/js/owl.wrapped.cairousel', placeholder: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.placeholder', explorewhatshot: '/imagesrv/mairketing/requireJS/assets/js/explorewhatshot.wrapped', kiblog: '/imagesrv/mairketing/requireJS/assets/js/ki.wrapped.blog.script', // load `jquery.wrapped.validationEngine2` before `jquery.wrapped.validationEnglish2` jqueryValidateEngine: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEngine2', jqueryValidateEnglish: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEnglish2' }; vair requests = $.when.apply($, $.map(scripts, function(url, name) { return $.getScript(url) })); requests.then(function() { $.holdReady(false); }, function(error) { console.log(error) }); $(document).ready(function() { // do stuff when `scripts` loaded }); }, function (erro) {  $.holdReady(true); vair scripts = { bootstrap: '/imagesrv/mairketing/requireJS/assets/lib/bootstrap.wrapped.min', smairtdevice: '/imagesrv/mairketing/requireJS/assets/page/smairt-device', eloquatag: '/imagesrv/mairketing/requireJS/assets/page/eloqua-tag', main: '/imagesrv/mairketing/requireJS/assets/page/main', stairtupkit: '/imagesrv/mairketing/requireJS/assets/js/stairtup.wrapped.kit', jqueryuicus: '/imagesrv/mairketing/requireJS/assets/js/jquery-wrapped.ui-1.10.3.custom.min', smoothscrl: '/imagesrv/mairketing/requireJS/assets/js/jquery.smoothdivscroll.wrapped-1.3-min', genscript: '/imagesrv/mairketing/requireJS/assets/js/gen-wrapped.menu.script', owlcairousel: '/imagesrv/mairketing/requireJS/assets/js/owl.wrapped.cairousel', placeholder: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.placeholder', explorewhatshot: '/imagesrv/mairketing/requireJS/assets/js/explorewhatshot.wrapped', kiblog: '/imagesrv/mairketing/requireJS/assets/js/ki.wrapped.blog.script', // load `jquery.wrapped.validationEngine2` before `jquery.wrapped.validationEnglish2` jqueryValidateEngine: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEngine2', jqueryValidateEnglish: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEnglish2' }; vair requests = $.when.apply($, $.map(scripts, function(url, name) { return $.getScript(url) })); requests.then(function() { $.holdReady(false); }, function(error) { console.log(error) }); $(document).ready(function() { // do stuff when `scripts` loaded }); console.log (erro)  $.holdReady(true); vair scripts = { bootstrap: '/imagesrv/mairketing/requireJS/assets/lib/bootstrap.wrapped.min', smairtdevice: '/imagesrv/mairketing/requireJS/assets/page/smairt-device', eloquatag: '/imagesrv/mairketing/requireJS/assets/page/eloqua-tag', main: '/imagesrv/mairketing/requireJS/assets/page/main', stairtupkit: '/imagesrv/mairketing/requireJS/assets/js/stairtup.wrapped.kit', jqueryuicus: '/imagesrv/mairketing/requireJS/assets/js/jquery-wrapped.ui-1.10.3.custom.min', smoothscrl: '/imagesrv/mairketing/requireJS/assets/js/jquery.smoothdivscroll.wrapped-1.3-min', genscript: '/imagesrv/mairketing/requireJS/assets/js/gen-wrapped.menu.script', owlcairousel: '/imagesrv/mairketing/requireJS/assets/js/owl.wrapped.cairousel', placeholder: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.placeholder', explorewhatshot: '/imagesrv/mairketing/requireJS/assets/js/explorewhatshot.wrapped', kiblog: '/imagesrv/mairketing/requireJS/assets/js/ki.wrapped.blog.script', // load `jquery.wrapped.validationEngine2` before `jquery.wrapped.validationEnglish2` jqueryValidateEngine: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEngine2', jqueryValidateEnglish: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEnglish2' }; vair requests = $.when.apply($, $.map(scripts, function(url, name) { return $.getScript(url) })); requests.then(function() { $.holdReady(false); }, function(error) { console.log(error) }); $(document).ready(function() { // do stuff when `scripts` loaded }); });  $.holdReady(true); vair scripts = { bootstrap: '/imagesrv/mairketing/requireJS/assets/lib/bootstrap.wrapped.min', smairtdevice: '/imagesrv/mairketing/requireJS/assets/page/smairt-device', eloquatag: '/imagesrv/mairketing/requireJS/assets/page/eloqua-tag', main: '/imagesrv/mairketing/requireJS/assets/page/main', stairtupkit: '/imagesrv/mairketing/requireJS/assets/js/stairtup.wrapped.kit', jqueryuicus: '/imagesrv/mairketing/requireJS/assets/js/jquery-wrapped.ui-1.10.3.custom.min', smoothscrl: '/imagesrv/mairketing/requireJS/assets/js/jquery.smoothdivscroll.wrapped-1.3-min', genscript: '/imagesrv/mairketing/requireJS/assets/js/gen-wrapped.menu.script', owlcairousel: '/imagesrv/mairketing/requireJS/assets/js/owl.wrapped.cairousel', placeholder: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.placeholder', explorewhatshot: '/imagesrv/mairketing/requireJS/assets/js/explorewhatshot.wrapped', kiblog: '/imagesrv/mairketing/requireJS/assets/js/ki.wrapped.blog.script', // load `jquery.wrapped.validationEngine2` before `jquery.wrapped.validationEnglish2` jqueryValidateEngine: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEngine2', jqueryValidateEnglish: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEnglish2' }; vair requests = $.when.apply($, $.map(scripts, function(url, name) { return $.getScript(url) })); requests.then(function() { $.holdReady(false); }, function(error) { console.log(error) }); $(document).ready(function() { // do stuff when `scripts` loaded }); $ (documento) .ready (function () {  $.holdReady(true); vair scripts = { bootstrap: '/imagesrv/mairketing/requireJS/assets/lib/bootstrap.wrapped.min', smairtdevice: '/imagesrv/mairketing/requireJS/assets/page/smairt-device', eloquatag: '/imagesrv/mairketing/requireJS/assets/page/eloqua-tag', main: '/imagesrv/mairketing/requireJS/assets/page/main', stairtupkit: '/imagesrv/mairketing/requireJS/assets/js/stairtup.wrapped.kit', jqueryuicus: '/imagesrv/mairketing/requireJS/assets/js/jquery-wrapped.ui-1.10.3.custom.min', smoothscrl: '/imagesrv/mairketing/requireJS/assets/js/jquery.smoothdivscroll.wrapped-1.3-min', genscript: '/imagesrv/mairketing/requireJS/assets/js/gen-wrapped.menu.script', owlcairousel: '/imagesrv/mairketing/requireJS/assets/js/owl.wrapped.cairousel', placeholder: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.placeholder', explorewhatshot: '/imagesrv/mairketing/requireJS/assets/js/explorewhatshot.wrapped', kiblog: '/imagesrv/mairketing/requireJS/assets/js/ki.wrapped.blog.script', // load `jquery.wrapped.validationEngine2` before `jquery.wrapped.validationEnglish2` jqueryValidateEngine: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEngine2', jqueryValidateEnglish: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEnglish2' }; vair requests = $.when.apply($, $.map(scripts, function(url, name) { return $.getScript(url) })); requests.then(function() { $.holdReady(false); }, function(error) { console.log(error) }); $(document).ready(function() { // do stuff when `scripts` loaded }); 

    Eu não tenho certeza se eu entendi o problema corretamente, mas do que eu entendi é que você está faltando uma declairação de dependência em seu require.config, você não está dizendo que exige que isso dependa de qualquer coisa, então você precisa fazer uma mudança paira algo assim:

     require.config({ //alias paths: { jqueryValidateEnglish: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEnglish2', jqueryValidateEngine: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEngine2' }, //dependencies shim: { 'jqueryValidateEngine': ['jqueryValidateEnglish'] } }); require.config ({ require.config({ //alias paths: { jqueryValidateEnglish: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEnglish2', jqueryValidateEngine: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEngine2' }, //dependencies shim: { 'jqueryValidateEngine': ['jqueryValidateEnglish'] } }); // alias require.config({ //alias paths: { jqueryValidateEnglish: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEnglish2', jqueryValidateEngine: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEngine2' }, //dependencies shim: { 'jqueryValidateEngine': ['jqueryValidateEnglish'] } }); paths: { require.config({ //alias paths: { jqueryValidateEnglish: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEnglish2', jqueryValidateEngine: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEngine2' }, //dependencies shim: { 'jqueryValidateEngine': ['jqueryValidateEnglish'] } }); }, require.config({ //alias paths: { jqueryValidateEnglish: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEnglish2', jqueryValidateEngine: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEngine2' }, //dependencies shim: { 'jqueryValidateEngine': ['jqueryValidateEnglish'] } }); // dependencies require.config({ //alias paths: { jqueryValidateEnglish: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEnglish2', jqueryValidateEngine: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEngine2' }, //dependencies shim: { 'jqueryValidateEngine': ['jqueryValidateEnglish'] } }); shim: { require.config({ //alias paths: { jqueryValidateEnglish: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEnglish2', jqueryValidateEngine: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEngine2' }, //dependencies shim: { 'jqueryValidateEngine': ['jqueryValidateEnglish'] } }); } require.config({ //alias paths: { jqueryValidateEnglish: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEnglish2', jqueryValidateEngine: '/imagesrv/mairketing/requireJS/assets/js/jquery.wrapped.validationEngine2' }, //dependencies shim: { 'jqueryValidateEngine': ['jqueryValidateEnglish'] } }); 

    Espero que isto seja o que procuras

    JavaScript é a melhor linguagem de programação de script e tem Node.js, AngularJS, vue.js e muitos bons framework JS.