From f46681ec19c4622f2e56430f10866bfa0c51245e Mon Sep 17 00:00:00 2001 From: Nick Sergeant Date: Thu, 9 May 2013 00:38:53 -0400 Subject: [PATCH] Cache bust. --- media/js/src/account.min.js | 4 ++-- media/js/src/application.min.js | 2 +- templates/base.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/media/js/src/account.min.js b/media/js/src/account.min.js index c394bc8..97d477c 100644 --- a/media/js/src/account.min.js +++ b/media/js/src/account.min.js @@ -1,3 +1,3 @@ -(function(){if(typeof angular!=='undefined'){var root=this;var $=root.jQuery;var controllers={};var app=angular.module('Account',[],function($routeProvider,$locationProvider){$locationProvider.html5Mode(true);$routeProvider.when('/account/',{templateUrl:'/static/js/src/modules/partials/profile.html',controller:controllers.ProfileController});$routeProvider.when('/account/billing/',{templateUrl:'/static/js/src/modules/partials/billing.html',controller:controllers.BillingController});$routeProvider.when('/account/blogging/',{templateUrl:'/static/js/src/modules/partials/blogging.html',controller:controllers.BloggingController});$routeProvider.when('/account/editor/',{templateUrl:'/static/js/src/modules/partials/editor.html',controller:controllers.EditorController});$routeProvider.otherwise({'redirectTo':function(routeParams,locationPath){window.location=locationPath;}});});app.config(function($interpolateProvider){$interpolateProvider.startSymbol('[[');$interpolateProvider.endSymbol(']]');});app.factory('AccountStorage',function($http){return{getAccount:function(){var promise=$http({method:'GET',url:'/api/private/profile/'+window.user_profile_id+'/',headers:{'Authorization':'ApiKey '+window.user+':'+window.api_key}});return promise;},saveAccount:function(user,fields){var promise=$http({method:'PUT',url:'/api/private/profile/'+window.user_profile_id+'/',headers:{'Authorization':'ApiKey '+window.user+':'+window.api_key},data:function(){var userData={};for(var i=0;i {% else %} - + {% endif %} {% block inline-js %}