From 40e4ae9759a3e390dae2fc3b189b9d9c63184bfe Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 1 Dec 2015 18:34:01 +0000 Subject: [PATCH] Remove temporary vector stuff as the sister PR makes it obsolete. --- reskindex.js | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/reskindex.js b/reskindex.js index 4b854de8ec..66dfc39f73 100755 --- a/reskindex.js +++ b/reskindex.js @@ -45,22 +45,4 @@ for (var i = 0; i < files.length; ++i) { strm.uncork(); } -// Temporary Vector transition -var vectorViewsPath = path.join('src', 'skins', 'vector', 'views'); -if (fs.existsSync(vectorViewsPath)) { - strm.write('\n'); - strm.write('// Old, unported Vector views:\n'); - var files = glob.sync('**/*.js', {cwd: vectorViewsPath}); - for (var i = 0; i < files.length; ++i) { - var file = files[i].replace('.js', ''); - - var moduleName = (file.replace(/\//g, '.')); - - strm.write("module.exports.components['"+moduleName+"'] = require('./skins/vector/views/"+file+"');"); - strm.write('\n'); - strm.uncork(); - } -} - strm.end(); -