RequireJS CDN test

Using RequireJS to load from a CDN See http://stackoverflow.com/questions/8070959/sourcing-jquery-from-a-cdn/15641638#15641638

HTML

<script src="http://requirejs.org/docs/release/2.1.5/minified/require.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/handsontable/7.0.0/handsontable.full.min.css">
<div id="example"></div>

JavaScript

requirejs.config({
    paths: {
        'Handsontable': '//cdn.jsdelivr.net/npm/handsontable@7.0.0/dist/handsontable.full.min'
    }
});

require(['Handsontable'], function (Handsontable) {
    var container = document.querySelector('#example');
    new Handsontable(container, {
    	data: Handsontable.helper.createSpreadsheetData(10,10),
      width: 300,
      height: 300,
    });
});