mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
6ee628d425
Back when mozpack.path was added, it was used as: import mozpack.path mozpack.path.func() Nowadays, the common idiom is: import mozpack.path as mozpath mozpath.func() because it's shorter. $ git grep mozpath\\. | wc -l 423 $ git grep mozpack.path\\. | wc -l 123 This change was done with: $ git grep -l mozpack.path\\. | xargs sed -i 's/mozpack\.path\./mozpath./g' $ git grep -l 'import mozpack.path$' | xargs sed -i 's/import mozpack.path$/\0 as mozpath/' $ (pat='import mozpack.path as mozpath'; git grep -l "$pat" | xargs sed -i "1,/$pat/b;/$pat/d") |
||
---|---|---|
.. | ||
modules-testing | ||
tests | ||
async.js | ||
bagheeraclient.js | ||
hawkclient.js | ||
hawkrequest.js | ||
logmanager.js | ||
moz.build | ||
observers.js | ||
rest.js | ||
services-common.js | ||
servicesComponents.manifest | ||
storageservice.js | ||
stringbundle.js | ||
tokenserverclient.js | ||
utils.js |