Update to latest jsonld.js.
authorDave Longley <dlongley@digitalbazaar.com>
Tue, 01 May 2012 16:33:54 -0400
changeset 608 4f59e71052e1
parent 607 d55646dd59f1
child 611 f5082cc1e77e
Update to latest jsonld.js.
playground/jsonld.js
--- a/playground/jsonld.js	Mon Apr 30 22:16:17 2012 -0400
+++ b/playground/jsonld.js	Tue May 01 16:33:54 2012 -0400
@@ -4000,8 +4000,8 @@
   var datatype = '(?:\\^\\^' + iri + ')';
   var language = '(?:@([a-z]+(?:-[a-z0-9]+)*))';
   var literal = '(?:' + plain + '(?:' + datatype + '|' + language + ')?)';
-  var ws = '[ \t]+';
-  var wso = '[ \t]*';
+  var ws = '[ \\t]+';
+  var wso = '[ \\t]*';
   var eoln = /(?:\r\n)|(?:\n)|(?:\r)/g;
   var empty = new RegExp('^' + wso + '$');