Fix playground
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Thu, 08 Aug 2013 14:32:12 +0200
changeset 1851 6c664f8b3280
parent 1850 a78f75e9b312
child 1852 b832ee1e9745
child 1853 93925faf6d1c
Fix playground

The updates to the playground introduced a "bug" that resulted in a syntax error every time someone entered a *valid* JSON-LD document in the input field but didn't fill out the context field.
playground/index.html
--- a/playground/index.html	Thu Aug 08 08:30:48 2013 -0400
+++ b/playground/index.html	Thu Aug 08 14:32:12 2013 +0200
@@ -131,12 +131,12 @@
           <div id="context-div" class="span6">
             <h3>New JSON-LD Context</h3>
             <textarea id="context" class="compressed process span6"
-            placeholder="Enter the new JSON-LD context to compact to here..." rows="10"></textarea>
+            placeholder="Enter the new JSON-LD context to compact to here..." rows="10">{}</textarea>
           </div>
           <div id="frame-div" class="span6">
             <h3>JSON-LD Frame</h3>
             <textarea id="frame" class="compressed process span6"
-            placeholder="Enter your JSON-LD frame here..." rows="10"></textarea>
+            placeholder="Enter your JSON-LD frame here..." rows="10">{}</textarea>
           </div>
         </div>
       </div>