Anton Shestakov <av6@dwimlabs.net>, Wed, 06 Apr 2016 13:06:28 +0800
provision: move X-Frame-Options header out of {% if ssl-enabled %}
Because it's not a HTTPS-only feature, let's enable it always.
static/js/framework/router.js
Permissions: -rw-r--r--
var Router = Backbone.Router.extend({ ':workspace': 'setWorkspace' makeRandomString: function(length) { return _.map(_.range(length), function() { return (Math.random()*16|0).toString(16); var randomString = this.makeRandomString(8); this.navigate(randomString, {trigger: true, replace: true}); setWorkspace: function(workspace) { fruitbar.trigger('workspace', workspace);