Remove temporary variable that is used only once
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Sun, 17 Feb 2013 16:31:18 +0100
changeset 1294 8c532600c782
parent 1293 7a339dfa8490
child 1295 2ba565c086ce
Remove temporary variable that is used only once

This addresses #218.
spec/latest/json-ld-api/index.html
--- a/spec/latest/json-ld-api/index.html	Sun Feb 17 16:24:09 2013 +0100
+++ b/spec/latest/json-ld-api/index.html	Sun Feb 17 16:31:18 2013 +0100
@@ -2909,18 +2909,13 @@
         <tref>IRI mapping</tref>.
       </li>
       <li>
-        Initialize <em>isUsableCurie</em> to <tref>false</tref>. If
-        <em>curie</em> does not have a <tref>term definition</tref> in
-        <tref>active context</tref> or if the
+        If either <em>choice</em> is <tref>null</tref> or <em>curie</em> is
+        shorter or the same length but lexicographically less than
+        <em>choice</em> and <em>curie</em> does not have a
+        <tref>term definition</tref> in <tref>active context</tref> or if the
         <tref>term definition</tref> has an <tref>IRI mapping</tref>
         that equals <em>iri</em> and <em>value</em> is <tref>null</tref>,
-        then set <em>isUsableCurie</em> to <tref>true</tref>.
-      </li>
-      <li>
-        If <em>isUsableCurie</em> equals <tref>true</tref> and either
-        <em>choice</em> is <tref>null</tref> or <em>curie</em> is shorter
-        or the same length but lexicographically less than
-        <em>choice</em>, set <em>choice</em> to <em>curie</em>.
+        set <em>choice</em> to <em>curie</em>.
       </li>
     </ol>
   </li>