Permalink
Browse files

no message

  • Loading branch information...
667
667 committed Feb 9, 2017
1 parent 6db48e9 commit 90c857345c01c6d19f367fecdaf015a4f90674c4
Showing with 26 additions and 3 deletions.
  1. +15 −1 Gruntfile.js
  2. +1 −1 manifest.json
  3. +7 −1 options.js
  4. +3 −0 webstoreDescription.txt
View
@@ -97,6 +97,20 @@ module.exports = function (grunt) {
files: fileMaps.uglify
}
},
+ 'string-replace': {
+ dist: {
+ files: {
+ 'build/unpacked-dev/': 'background.js',
+ 'build/unpacked-prod/': 'background.js'
+ },
+ options: {
+ replacements: [{
+ pattern: /const VERSION \= \'\'/,
+ replacement: 'const VERSION = \''+ pkg.version +'\''
+ }]
+ }
+ }
+ },
watch: {
js: {
files: ['package.json', 'lint-options.json', 'Gruntfile.js', '**/*.js',
@@ -130,7 +144,7 @@ module.exports = function (grunt) {
);
grunt.registerTask('test', ['eslint']);
grunt.registerTask('test-cont', ['test', 'watch']);
- grunt.registerTask('default', ['clean', 'test', 'mkdir:unpacked', 'copy:main', 'manifest', 'mkdir:js', 'copy:prod', 'uglify', 'exec', 'compress']);
+ grunt.registerTask('default', ['clean', 'test', 'mkdir:unpacked', 'copy:main', 'manifest', 'mkdir:js', 'copy:prod', 'string-replace', 'uglify', 'exec', 'compress']);
grunt.file.write('build/unpacked-dev/manifest.json', JSON.stringify(mnf, null, 4) + '\n');
grunt.log.ok('manifest.json generated');
}
View
@@ -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"
},
View
@@ -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.$;
@@ -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']);
View
@@ -25,6 +25,9 @@ If you enjoy using NIM please give us a 5 star rating and/or a G+1. Any and all
This project is open source and available at https://github.com/june07/NIM.
+[0.11.0] - 2017-02-07
+Added
+ - Better langauge support with the addition of 20 more language translations. Arabic, Czech, Danish, Greek, Estonian, Finnish, Hebrew, Hungarian, Croatian, Indonesian, Latvian, Dutch, Norwegian, Romanian, Slovak, Swedish, Thai, Turkish, Ukrainian, and Vietnamese!
[0.10.0] - 2017-01-30
Added
- This release includes a lot of UI changes, hopefully, all to the better. The color scheme has changed slightly to match that of the main NIM icon. A floating material style button has been added to the lower right corner of the popup to facilitate access to current and possible future features without being disruptive to the UI. Currently, there is a button for the settings modal as well as well as a button for a new feature, the notification area. Again, the notification area was meant to be very non-intrusive and to allow for easier communication to users about important issues. Finally a Google+ Platform link was added to make it even easier to add those stellar reviews and 5 star ratings <i class=\"emo-thumbsup\"></i>. The donation link was also changed partially in response to user feedback about making some additions to that area.

0 comments on commit 90c8573

Please sign in to comment.