Discussions

Trying to import DataTables CDN, appears to conflict with QB native Cloudflare library

  • 1.  Trying to import DataTables CDN, appears to conflict with QB native Cloudflare library

    Posted 02-26-2019 18:00
    I'm trying to add the DataTables Library, located at https://datatables.net...

    I'm using requireJS notation to import the library in, and it appears to at least start to, but then it looks to conflict with the QB native cloudflare...

    Here's my code to implement the DataTables Library:

    require.config({  
    paths: {"datatables": "https://cdn.datatables.net/v/dt/dt-1.10.18/b-1.5.4/datatables.min";  }
    });

    require(['datatables'], function(datatables) {  
    console.dir(datatables);
    console.log("This is working thus far");
    });

    And the Error Message I get is:

    GET https://assets-cflare.quickbasecdn.net/res/0c06348-18/js/jquery.js net::ERR_ABORTED 404 (Not Found)