Skip to content

Commit

Permalink
All empty schemas created by Environment#createEmptySchema now have t…
Browse files Browse the repository at this point in the history
…he same URI (urn:jsv:empty-schema#).

Removed JSONSchema#createEmptySchema.
Updated documentation.
  • Loading branch information
garycourt committed Sep 15, 2011
1 parent f3fc4ad commit 5492b19
Show file tree
Hide file tree
Showing 13 changed files with 1,281 additions and 1,352 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
* Updated uri.js to latest version.
* Fixed bug with Report#addError. (Identified by cellog)
* ValidationError#details is now safe to stringify.
* Added example HTML page
* Removed JSONSchema#createEmptySchema. All empty schemas created by Environment#createEmptySchema now have the same URI (urn:jsv:empty-schema#).
* Added example HTML page.

## 3.5 (2011/03/07)

Expand Down
2 changes: 1 addition & 1 deletion docs/files.html
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ <h2><a href="symbols/src/jsv.js.html">jsv.js</a></h2>
</div>
<div class="fineprint" style="clear:both">

Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blankt">JsDoc Toolkit</a> 2.4.0 on Mon Aug 22 2011 14:54:21 GMT-0600 (MDT)
Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blankt">JsDoc Toolkit</a> 2.4.0 on Wed Sep 14 2011 18:53:24 GMT-0600 (MDT)
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ <h2><a href="symbols/ValidationError.html">ValidationError</a></h2>
</div>
<div class="fineprint" style="clear:both">

Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blankt">JsDoc Toolkit</a> 2.4.0 on Mon Aug 22 2011 14:54:21 GMT-0600 (MDT)
Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blankt">JsDoc Toolkit</a> 2.4.0 on Wed Sep 14 2011 18:53:24 GMT-0600 (MDT)
</div>
</body>
</html>
17 changes: 3 additions & 14 deletions docs/symbols/Environment.html
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ <h1 class="classTitle">
<tr>
<td class="attributes">&nbsp;</td>
<td class="nameDescription">
<div class="fixedFont"><b><a href="../symbols/Environment.html#createEmptySchema">createEmptySchema</a></b>(env)
<div class="fixedFont"><b><a href="../symbols/Environment.html#createEmptySchema">createEmptySchema</a></b>()
</div>
<div class="description">Creates an empty schema.</div>
</td>
Expand Down Expand Up @@ -460,7 +460,7 @@ <h1 class="classTitle">
<div class="fixedFont">

<span class="light">{<a href="../symbols/JSONSchema.html">JSONSchema</a>}</span>
<b>createEmptySchema</b>(env)
<b>createEmptySchema</b>()

</div>
<div class="description">
Expand All @@ -472,17 +472,6 @@ <h1 class="classTitle">



<dl class="detailList">
<dt class="heading">Parameters:</dt>

<dt>
<span class="light fixedFont">{<a href="../symbols/Environment.html">Environment</a>}</span> <b>env</b>

</dt>
<dd>The environment of the schema</dd>

</dl>




Expand Down Expand Up @@ -959,7 +948,7 @@ <h1 class="classTitle">
<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">

Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Mon Aug 22 2011 14:54:21 GMT-0600 (MDT)
Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Wed Sep 14 2011 18:53:24 GMT-0600 (MDT)
</div>
</body>
</html>
Expand Down
2 changes: 1 addition & 1 deletion docs/symbols/InitializationError.html
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ <h1 class="classTitle">
<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">

Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Mon Aug 22 2011 14:54:21 GMT-0600 (MDT)
Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Wed Sep 14 2011 18:53:24 GMT-0600 (MDT)
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion docs/symbols/JSONInstance.html
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ <h1 class="classTitle">
<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">

Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Mon Aug 22 2011 14:54:21 GMT-0600 (MDT)
Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Wed Sep 14 2011 18:53:24 GMT-0600 (MDT)
</div>
</body>
</html>
Expand Down
54 changes: 1 addition & 53 deletions docs/symbols/JSONSchema.html
Original file line number Diff line number Diff line change
Expand Up @@ -270,15 +270,6 @@ <h1 class="classTitle">
</thead>
<tbody>

<tr>
<td class="attributes">&lt;static&gt; &nbsp;</td>
<td class="nameDescription">
<div class="fixedFont">JSONSchema.<b><a href="../symbols/JSONSchema.html#.createEmptySchema">createEmptySchema</a></b>(env)
</div>
<div class="description">Creates an empty schema.</div>
</td>
</tr>

<tr>
<td class="attributes">&nbsp;</td>
<td class="nameDescription">
Expand Down Expand Up @@ -423,49 +414,6 @@ <h1 class="classTitle">
Method Detail
</div>

<a name=".createEmptySchema"> </a>
<div class="fixedFont">&lt;static&gt;

<span class="light">{<a href="../symbols/JSONSchema.html">JSONSchema</a>}</span>
<span class="light">JSONSchema.</span><b>createEmptySchema</b>(env)

</div>
<div class="description">
Creates an empty schema.


</div>




<dl class="detailList">
<dt class="heading">Parameters:</dt>

<dt>
<span class="light fixedFont">{<a href="../symbols/Environment.html">Environment</a>}</span> <b>env</b>

</dt>
<dd>The environment of the schema</dd>

</dl>





<dl class="detailList">
<dt class="heading">Returns:</dt>

<dd><span class="light fixedFont">{<a href="../symbols/JSONSchema.html">JSONSchema</a>}</span> The empty schema, who's schema is itself.</dd>

</dl>




<hr />

<a name="getAttribute"> </a>
<div class="fixedFont">

Expand Down Expand Up @@ -799,7 +747,7 @@ <h1 class="classTitle">
<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">

Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Mon Aug 22 2011 14:54:21 GMT-0600 (MDT)
Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Wed Sep 14 2011 18:53:24 GMT-0600 (MDT)
</div>
</body>
</html>
Expand Down
2 changes: 1 addition & 1 deletion docs/symbols/JSV.html
Original file line number Diff line number Diff line change
Expand Up @@ -1505,7 +1505,7 @@ <h1 class="classTitle">
<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">

Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Mon Aug 22 2011 14:54:21 GMT-0600 (MDT)
Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Wed Sep 14 2011 18:53:24 GMT-0600 (MDT)
</div>
</body>
</html>
Expand Down
2 changes: 1 addition & 1 deletion docs/symbols/Report.html
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ <h1 class="classTitle">
<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">

Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Mon Aug 22 2011 14:54:21 GMT-0600 (MDT)
Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Wed Sep 14 2011 18:53:24 GMT-0600 (MDT)
</div>
</body>
</html>
Expand Down
2 changes: 1 addition & 1 deletion docs/symbols/ValidationError.html
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ <h1 class="classTitle">
<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">

Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Mon Aug 22 2011 14:54:21 GMT-0600 (MDT)
Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Wed Sep 14 2011 18:53:24 GMT-0600 (MDT)
</div>
</body>
</html>
Expand Down
2 changes: 1 addition & 1 deletion docs/symbols/_global_.html
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ <h1 class="classTitle">
<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">

Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Mon Aug 22 2011 14:54:21 GMT-0600 (MDT)
Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Wed Sep 14 2011 18:53:23 GMT-0600 (MDT)
</div>
</body>
</html>
Loading

0 comments on commit 5492b19

Please sign in to comment.