Skip to content
This repository has been archived by the owner on Oct 14, 2020. It is now read-only.

Commit

Permalink
Smaller improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
motin committed Apr 2, 2018
1 parent 0a8a43b commit 935efe2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

- run:
name: webpack and eslint
command: npm run dist
command: npm run build

- run:
name: Build .XPI
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ RUN apt-get update -y && \
apt-get install -y zip firefox xvfb nodejs xsel git ssh openbox && \
npm install -g [email protected]

ENV PATH="/shield-study-utils/node_modules/.bin:$PATH"
ENV PATH="/shield-study-addon-utils/node_modules/.bin:$PATH"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ To use, copy `webExtensionApis/study/api.js` and `webExtensionApis/study/schema.

Depending on which data processing pipeline the study add-on is configured to use, the pings end up in different destinations:

* `parquet` - The pings end up in the `shield-study` and `shield-study-addon` Telemetry buckets for faster analysis.
* `shield-parquet` - The pings end up in the `shield-study` and `shield-study-addon` Telemetry buckets for faster analysis.
* `pioneer` - The pings are encrypted and end up in the Pioneer processing pipeline
* `custom-telemetry-events` - The pings end up in the ordinary destination for custom telemetry events

Expand Down
6 changes: 3 additions & 3 deletions webExtensionApis/prefs/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

ChromeUtils.import("resource://gre/modules/Services.jsm");

const BASE_PREF = "extensions.original-bootstrap-addon-id.";
const PREFERENCES_PREFIX = "";

function get(key, type = "char") {
key = BASE_PREF + key;
key = PREFERENCES_PREFIX + key;

switch (type) {
case "char":
Expand All @@ -20,7 +20,7 @@ function get(key, type = "char") {
}

function set(key, type, value) {
key = BASE_PREF + key;
key = PREFERENCES_PREFIX + key;

switch (type) {
case "char":
Expand Down

0 comments on commit 935efe2

Please sign in to comment.