addon-sdk/source/test/fixtures.js

branch
TOR_BUG_9701
changeset 10
ac0c01689b40
equal deleted inserted replaced
-1:000000000000 0:553fb6247f68
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5 exports.url = path =>
6 module.uri.substr(0, module.uri.lastIndexOf("/") + 1) + "fixtures/" + path

mercurial