It's my first time using nuxeo.js. I added nuxeo.js to the asp.net mvc application Scripts folder and made the reference to it in my .aspx page head section. I'm trying to access nuxeo server with this code:
$(document).ready(function () {
/>
var client = new nuxeo.Client({
/>
/>
baseURL: 'http://192.168.15.128/nuxeo',
/>
restPath: 'api/v1',
/>
automationPath: 'site/api/v1/automation',
/>
auth: {
/>
method: 'basic',
/>
username: 'myusername',
/>
password: 'mypassword'
/>
},
/>
timeout: 30000
/>
})
/>
});
/>
My browser console error list always get the message: "Uncaught TypeError: this._initAuthentication is not a function"
Debugging I realized that in line 43 of nuxeo.js we have a call to this._initAuthentication() and I can't find the implementation to this function. I am probably missing something.
Can anyone give me a help?