// For any third party dependencies, like jQuery, place them in the lib folder.

// Configure loading modules from the lib directory,
// except for 'app' ones, which are in a sibling
// directory.
requirejs.config({
    // enforceDefine: true,
    baseUrl: 'scripts/lib',
    paths: {
        jquery: 'https://code.jquery.com/jquery-3.2.1.slim.min',
        lodash: 'https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.4/lodash.min',
        seedRandom: 'https://cdnjs.cloudflare.com/ajax/libs/seedrandom/2.4.3/seedrandom.min',
        threejs: 'https://cdnjs.cloudflare.com/ajax/libs/three.js/85/three.min',
        dobuki: 'dok/dobuki',
        jsgif: 'jsgif/gif'
    },
    urlArgs: "bust=" + Date.now(),
    catchError:false,
});

define(function() {
    // Start loading the main app file. Put all of
    // your application logic in there.
    requirejs(['scripts/main.js']);
});

// For any third party dependencies, like jQuery, place them in the lib folder.

// Configure loading modules from the lib directory,
// except for 'app' ones, which are in a sibling
// directory.
requirejs.config({
    // enforceDefine: true,
    baseUrl: 'scripts/lib',
    paths: {
        jquery: 'https://code.jquery.com/jquery-3.2.1.slim.min',
        lodash: 'https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.4/lodash.min',
        seedRandom: 'https://cdnjs.cloudflare.com/ajax/libs/seedrandom/2.4.3/seedrandom.min',
        threejs: 'https://cdnjs.cloudflare.com/ajax/libs/three.js/85/three.min',
        dobuki: 'https://jacklehamster.github.io/dok/out/dok.min',
        jsgif: 'jsgif/gif'
    },
    urlArgs: "bust=" + Date.now(),
    catchError:false,
});

define(function() {
    // Start loading the main app file. Put all of
    // your application logic in there.
    requirejs(['scripts/main.js']);
});

Use online CDN for DOK
Use online CDN for DOK
