File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 9
9
"watch-js" : " watchify -t reactify src/js/app.js -o build/js/app.js -v" ,
10
10
"watch" : " grunt build && npm build && npm run watch-js | grunt watch" ,
11
11
"start" : " electron ." ,
12
- "dist" : " rm -rf Gitify.app/ && electron-packager . Gitify --platform=darwin --arch=x64 --version=0.26 .1 --icon=images/app-icon.icns --prune --ignore=src" ,
12
+ "dist" : " rm -rf Gitify.app/ && electron-packager . Gitify --platform=darwin --arch=x64 --version=0.27 .1 --icon=images/app-icon.icns --prune --ignore=src" ,
13
13
"test" : " jsxhint --reporter node_modules/jshint-stylish/stylish.js 'src/**/*.js', 'index.js' --exclude 'Gruntfile.js'"
14
14
},
15
15
"repository" : {
44
44
"watchify" : " =3.2.1"
45
45
},
46
46
"devDependencies" : {
47
- "electron-packager" : " =4.1.1 " ,
48
- "electron-prebuilt" : " =0.26 .1" ,
47
+ "electron-packager" : " =4.1.2 " ,
48
+ "electron-prebuilt" : " =0.27 .1" ,
49
49
"grunt" : " =0.4.5" ,
50
50
"grunt-contrib-clean" : " =0.6.0" ,
51
51
"grunt-contrib-copy" : " =0.8.0" ,
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ var NotificationsStore = Reflux.createStore({
26
26
var tokens = AuthStore . authStatus ( ) ;
27
27
28
28
apiRequests
29
- . getAuth ( 'https://api.github.com/notifications?now=' + Date . now ( ) )
29
+ . getAuth ( 'https://api.github.com/notifications' )
30
30
. end ( function ( err , response ) {
31
31
if ( response && response . ok ) {
32
32
// Success - Do Something.
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ var apiRequests = {
21
21
. get ( url )
22
22
. set ( 'Accept' , 'application/vnd.github.v3+json' )
23
23
. set ( 'Authorization' , 'token ' + AuthStore . authStatus ( ) )
24
+ . set ( 'Cache-Control' , 'no-cache' )
24
25
. set ( 'User-Agent' , 'Gitify' ) ;
25
26
} ,
26
27
@@ -30,6 +31,7 @@ var apiRequests = {
30
31
. send ( params )
31
32
. set ( 'Accept' , 'application/vnd.github.v3+json' )
32
33
. set ( 'Authorization' , 'token ' + AuthStore . authStatus ( ) )
34
+ . set ( 'Cache-Control' , 'no-cache' )
33
35
. set ( 'User-Agent' , 'Gitify' ) ;
34
36
}
35
37
} ;
You can’t perform that action at this time.
0 commit comments