Minor changes in the vc api
diff --git a/dev/demo/vcdemo.js b/dev/demo/vcdemo.js
index ff93f27..e92b324 100644
--- a/dev/demo/vcdemo.js
+++ b/dev/demo/vcdemo.js
@@ -77,12 +77,12 @@
// Create a new virtual collection by passing a based json object and
// field menu information
- var vc = vcClass.render(json, [
+ var vc = vcClass.create([
['title', 'string'],
['subTitle', 'string'],
['pubDate', 'date'],
['author', 'string']
- ]);
+ ]).fromJson(json);
document.getElementById('vc').appendChild(vc.element());
// show the current JSON serialization