Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Commit

Permalink
Fixes instagram bug
Browse files Browse the repository at this point in the history
  • Loading branch information
saiichihashimoto committed Jul 21, 2016
1 parent 4a8acd7 commit 3d574e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/service/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@ var analytics = require('../analytics/background');
var async = require('async');
var config = require('../config');
var memoize = require('memoizee');
var Response = require('http-browserify/lib/response');
require('../common/mixins');

var ALPHANUMERIC = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';

// FIXME substack/http-browserify#10
Response.prototype.setEncoding = _.noop;

chrome.storage.local.get('device_id', function(obj) {
if (!_.isEmpty((obj || {}).device_id)) {
return;
Expand Down

0 comments on commit 3d574e4

Please sign in to comment.