4 ms·
Good stuff! It'd be nice if the data was pre-loaded in some way that doesn't hinder the page load time. Not sure how, off-hand, but know it's possible.
by crawfordcomeaux 14y ago
Good stuff! It'd be nice if the data was pre-loaded in some way that doesn't hinder the page load time. Not sure how, off-hand, but know it's possible.
- pmtarantino 14y agoEach link is a request to Wikipedia, so I thought it would be better to request only if the user mouse over and wants to fetch the data. But yes, could be an option to pre-load :)
- crawfordcomeaux 14y agoI haven't looked at the code yet, but how modular is the data source? Incorporating things like Google's dictionary extension could make this a pretty versatile little tool.
- grimgrin 14y agoI gave preloading a shot. Should work fine for you. https://github.com/shmup/wikiUp/commit/8a7216c28da9741beed5a3586d38d3da651ecd35 https://github.com/shmup/wikiUp/commit/8a7216c28da9741beed5a...