graphicore / ufoJS

Javascript API for the Unified Font Object
lib.ufojs.org
GNU General Public License v3.0
52 stars 10 forks source link

Add a lib/tools/io/BasePath module #42

Open graphicore opened 9 years ago

graphicore commented 9 years ago

BasePath will have to implement the full io API. (maybe we can do something smart here)

// ioObject: an object with io api
// basePath: is a string that will be prepended to all path arguments
io = new BasePath(basePath, ioObject

This will help us to simplify a lot of code in ufoJS and metapolator.