Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Thomas Rientjes
tor-browser-settings
Commits
a1d72553
Commit
a1d72553
authored
Dec 27, 2016
by
Amogh Pradeep
Browse files
Move to new API for importing Services
parent
5d0853f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/modules/utils.js
View file @
a1d72553
// # Utils.js
// Various helpful utility functions.
// ### Shortcut
let
{
Cu
,
Cc
,
Ci
}
=
require
(
'
chrome
'
);
// ### Import Mozilla Services
Cu
.
import
(
"
resource://gre/modules/Services.jsm
"
);
var
{
Services
}
=
require
(
"
resource://gre/modules/Services.jsm
"
);
// ## Pref utils
...
...
Thomas Rientjes
@Synzvato
mentioned in issue
#11 (closed)
·
Apr 07, 2017
mentioned in issue
#11 (closed)
mentioned in issue #11
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment