Update to latest jsonld.js.
--- a/playground/jsonld.js Fri Mar 01 14:12:46 2013 +0100
+++ b/playground/jsonld.js Fri Mar 01 11:22:11 2013 -0500
@@ -2456,11 +2456,10 @@
'@context must be an absolute IRI or the empty string.',
'jsonld.SyntaxError', {context: ctx});
}
- else {
- base = jsonld.url.parse(base || '');
- base.pathname = base.pathname || '';
- rval['@base'] = base;
- }
+
+ base = jsonld.url.parse(base || '');
+ base.pathname = base.pathname || '';
+ rval['@base'] = base;
defined['@base'] = true;
}