Dojo - multipleDefine

0

When you try to run the code below, it returns

dojo.js.uncompressed.js:1931 Error: multipleDefine
    at c (dojo.js.uncompressed.js:129)
    at Na (dojo.js.uncompressed.js:1611)
    at dojo.js.uncompressed.js:1667
    at e (dojo.js.uncompressed.js:116)
    at ab (dojo.js.uncompressed.js:1666)
    at r (dojo.js.uncompressed.js:1483)
    at k (dojo.js.uncompressed.js:1566)
    at Function.g.getText (dojo.js.uncompressed.js:356)
    at ra (dojo.js.uncompressed.js:1585)
    at e (dojo.js.uncompressed.js:116)

Code:

require([
             'dwr/interface/ManterFuncionarioController.js'], function(data2){

ManterFuncionarioController.obterFuncionarioMatricula(funcionario, function(data){

                if (data.length > 0 ){

                    document.getElementById("nome").value = data.nome;
    
asked by anonymous 25.10.2018 / 17:13

0 answers