Remove temporary vector stuff as the sister PR makes it obsolete.

This commit is contained in:
David Baker 2015-12-01 18:34:01 +00:00
parent 6978436b07
commit 40e4ae9759

View File

@ -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();