Commit a1d72553 authored by Amogh Pradeep's avatar Amogh Pradeep
Browse files

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