W3C home > Mailing lists > Public > semantic-web@w3.org > August 2015

Tabulator mashlib.js drops jQuery dependency removed

From: Tim Berners-Lee <timbl@w3.org>
Date: Fri, 7 Aug 2015 09:11:48 -0400
Message-Id: <B7DAD33D-C6F9-44E4-8671-4E3BBEBF171B@w3.org>
To: SW-forum Web <semantic-web@w3.org>

It turned out that the mashup library mashlib.js in the tabulator project had only one dependency of jQuery: it ran itself using  jQuery.ready.  Now this is changed to running itself using 

document.addEventListener('DOMContentLoaded', function() { ... }

One unexpected side-effect was that apps like tha app-schedule which loaded jquery then mashlip and then loaded themselves using jquery had to be changed to also run themselves at DOMContentLoaded, or they end up running before the mashlib is initialized, and find $rdf and tabulator are undefined.

I also fixed a bug (thanks Kirk Hess) where the default base for pulling icons from was on the very old github.com not the new github.io.

The github repo just uses gh-pages not master at  the moment. So the github.io is always in sync.

Received on Friday, 7 August 2015 13:12:06 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 07:43:02 UTC