ina6ra
ina6ra
I was able to solve myself by using requirejs. Thanks. - [d3.js - How to add external javascript file in Ipython notebook - Stack Overflow](https://stackoverflow.com/questions/30367591/how-to-add-external-javascript-file-in-ipython-notebook) ``` $$.html(` requirejs.config({ paths: {...
It worked without changing the original code by registering it in the window object after loading the document. ``` $$.html(` requirejs.config({ paths: { 'Swal': ['https://cdn.jsdelivr.net/npm/[email protected]/dist/sweetalert2.min'], }, }); $(document).ready(() => {...
@n-riesco Thanks. I hope it helps someone. I was able to solve this problem but another problem arose. I cannot paste in the input field displayed in the alert. Can...
I was able to solve it self. I used QueryInterface. https://sequelize-mock.readthedocs.io/en/stable/docs/mock-queries/ ```` UserMock = DBConnectionMock.define('users'); UserMock.$queueResult([ UserMock.build({ 'email': '[email protected]', 'username': 'one' }), UserMock.build({ 'email': '[email protected]', 'username': 'two' }) ]); UserMock.findAll([options]).then(function(users)...