I'm not familiar with bignumber.js, so it may just not be compatible with spidermonkey or require a version newer than the one used by gjs, however:
On Tue, Jan 5, 2016 at 8:50 PM Per <pmknutsen gmail com> wrote:If not, how do I use a library like bignumber.js in my extension?I have tried this:/* Include the library */const ExtensionUtils = imports.misc.extensionUtils;const Extension = ExtensionUtils.getCurrentExtension();const BigNumber = Extension.imports.bignumbers;
This should be Extension.imports.bignumber