Test suite now relies on requirejs as well
diff --git a/dev/js/src/vc.js b/dev/js/src/vc.js
index 48c5694..65ac5ca 100644
--- a/dev/js/src/vc.js
+++ b/dev/js/src/vc.js
@@ -45,14 +45,6 @@
// KorAP._validGroupOpRE = new RegExp("^(?:and|or)$");
// KorAP._quote = new RegExp("([\"\\\\])", 'g');
- // Localization values
- var loc = (KorAP.Locale = KorAP.Locale || {} );
- /*
- loc.AND = loc.AND || 'and';
- loc.OR = loc.OR || 'or';
- loc.DEL = loc.DEL || '×';
- loc.EMPTY = loc.EMPTY || '⋯'
- */
/**
* Virtual Collection
@@ -93,7 +85,7 @@
else {
// Add unspecified object
- obj._root = KorAP.UnspecifiedDoc.create(obj);
+ obj._root = unspecDocClass.create(obj);
};
// Init element and update