Fx60: Fix snapshot filenames

nsIURL doesn't seem to work anymore, so add Zotero.Utilities.parseURL(),
which uses the `url` package from NPM and adds fileName, fileExtension,
and fileBaseName.
This commit is contained in:
Dan Stillman 2018-02-25 15:07:33 -05:00
parent c07379fe33
commit 8c59df435f
6 changed files with 84 additions and 28 deletions

View file

@ -38,6 +38,13 @@ const symlinkFiles = [
// these files will be browserified during the build
const browserifyConfigs = [
{
src: 'node_modules/url/url.js',
dest: 'resource/url.js',
config: {
standalone: 'url'
}
},
{
src: 'node_modules/sinon/lib/sinon.js',
dest: 'test/resource/sinon.js',