Rename workspaces to tabs/sheets

This commit is contained in:
Nicholas O'Leary
2013-10-30 21:45:45 +00:00
parent bc878b40d6
commit 8befd44195
3 changed files with 16 additions and 8 deletions

View File

@@ -292,7 +292,8 @@ var parseConfig = function() {
missingTypes = [];
for (var i in activeConfig) {
var type = activeConfig[i].type;
if (type != "workspace") {
// TODO: remove workspace in next release+1
if (type != "workspace" && type != "tab") {
var nt = node_type_registry.get(type);
if (!nt && missingTypes.indexOf(type) == -1) {
missingTypes.push(type);
@@ -311,7 +312,8 @@ var parseConfig = function() {
events.emit("nodes-starting");
for (var i in activeConfig) {
var nn = null;
if (activeConfig[i].type != "workspace") {
// TODO: remove workspace in next release+1
if (activeConfig[i].type != "workspace" && activeConfig[i].type != "tab") {
var nt = node_type_registry.get(activeConfig[i].type);
if (nt) {
try {