Fix variable leak in theme.js

This commit is contained in:
Nick O'Leary 2016-01-08 13:41:33 +00:00
parent 70f3e72a20
commit 41f3b0c333
1 changed files with 2 additions and 2 deletions

View File

@ -56,8 +56,6 @@ function serveFile(app,baseUrl,file) {
module.exports = {
init: function(runtime) {
var settings = runtime.settings;
var i;
var url;
themeContext = clone(defaultContext);
if (runtime.version) {
themeContext.version = runtime.version();
@ -68,6 +66,8 @@ module.exports = {
},
app: function() {
var i;
var url;
themeSettings = {};
var themeApp = express();