Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
667 committed Feb 9, 2017
1 parent 247d9d0 commit 4889f3b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"1282": "./icon/icon128@2x.png",
"1283": "./icon/icon128@3x.png"
},
"permissions": ["*://*/", "storage", "background", "tabs"],
"permissions": ["*://*/", "storage", "background", "tabs", "identity", "identity.email"],
"background": {
"page": "background.html"
},
Expand Down
8 changes: 7 additions & 1 deletion options.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ ngApp
.controller('nimOptionsController', ['$scope', '$window', function($scope, $window) {
$scope.bg = $window.chrome.extension.getBackgroundPage().angular.element('#nim').scope();
$scope.bg.localize($window, function() {});
$scope.autoIncrementOptions = [
{id: 'both', name: 'Both'},
{id: 'host', name: 'Host'},
{id: 'port', name: 'Port'},
{id: 'false', name: 'False'},
];

var $ = $window.$;

Expand All @@ -51,7 +57,7 @@ ngApp
$scope.bg.settings.checkInterval = parseInt(values[handle]);
});
slider.noUiSlider.on('set', function(values, handle) {
$window._gaq.push(['_trackEvent', 'checkInterval-value', values[handle]]);
$window._gaq.push(['_trackEvent', 'User Event', 'checkInterval-value', values[handle], undefined, true]);
});
$scope.saveButtonHandler = function() {
$window._gaq.push(['_trackEvent', 'save button', 'clicked']);
Expand Down

0 comments on commit 4889f3b

Please sign in to comment.