Fix some stuff that was breaking simfile list browser caching.
authorCameron Ball <c.ball1729@gmail.com>
Thu, 25 Dec 2014 12:07:35 +0000 (20:07 +0800)
committerCameron Ball <c.ball1729@gmail.com>
Thu, 25 Dec 2014 12:07:35 +0000 (20:07 +0800)
Gruntfile.js
app/components/simfiles/simfiles-service.js

index 3438658..a6eb7e5 100644 (file)
@@ -69,6 +69,6 @@ module.exports = function (grunt) {
  
     // Tell Grunt what to do when we type "grunt" into the terminal
     grunt.registerTask('default', [
-        'copy', 'cleanempty', 'useminPrepare', 'concat', 'uglify', 'cssmin', 'rev', 'usemin'
+        'clean', 'copy', 'cleanempty', 'useminPrepare', 'concat', 'uglify', 'cssmin', 'rev', 'usemin'
     ]);
 };
index d00d481..4e2db62 100644 (file)
@@ -16,8 +16,7 @@ factory("SimfileService", ['rockEndpoint', '$http', '$q', 'HelloService', functi
         } else {
             $http({
                 url: rockEndpoint + "simfiles/",
-                method: "GET",
-                params: {token: token}
+                method: "GET"
             }).
             success(function (data)
             {
@@ -39,8 +38,7 @@ factory("SimfileService", ['rockEndpoint', '$http', '$q', 'HelloService', functi
         } else {
             $http({
                 url: rockEndpoint + "simfiles/",
-                method: "GET",
-                params: {token: token}
+                method: "GET"
             }).
             success(function (data)
             {