Microsoft is acquiring GitHub. Decentraleyes is leaving GitHub. Welcome to its new home!

To participate, please register, or sign in with an existing GitLab.com, Bitbucket, or GitHub account.

Past contributions on GitHub? Be sure to reclaim your Comments, Issues, and Pull Requests.

Commit a1d72553 authored by Amogh Pradeep's avatar Amogh Pradeep

Move to new API for importing Services

parent 5d0853f2
// # 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment