Closed shamess closed 11 years ago
Hi shamess! Thank you for the patch. I suggest you to make the relative path configurable from the help.akihabaraInit (it configures gbox quite like you did) and move your patch to the new official repository https://github.com/akihabara/akihabara. There currently are two repos since the older one wasn't already tested on all real devices but is more tidy and well organized. Thank you again!
s/older one/new one/g
Hi @shamess, can you submit this patch on the new Akihabara repository as a configurable parameter? Contact me on any doubt :) The new repository is this one https://github.com/akihabara/akihabara.
@kesiev Can we close this issue?
I added a relative path option to gbox. This hasn't changed any logic anywhere, but it allows me to put the library anywhere I like (in a /lib/ folder, specifically). You set the gbox._relpath option before any calls to the libraries, including help.
Previously, loadAll() wouldn't to find the debug font if the directory was anything buy akihabara/, and silently fail. There's also a few places where I expect the same would happen in the help.js script too, so I've changed those. I didn't see any other references to "akihabara/" elsewhere that would need changing.