Browse files

...

  • Loading branch information...
1 parent 2f03c59 commit 6c365617a67b3af6309a47bce76f3380d40c0f00 @worrydream committed Jun 14, 2011
Showing with 19 additions and 18 deletions.
  1. +3 −3 Tangle.js
  2. +1 −1 TangleKit/BVTouchable.js
  3. +4 −4 download.html
  4. +2 −2 guide.html
  5. +3 −2 index.html
  6. +5 −5 reference.html
  7. +1 −1 style.css
View
6 Tangle.js
@@ -287,7 +287,7 @@ var Tangle = this.Tangle = function (rootElement, modelClass) {
}
function setValue(varName, value) {
- var obj = {}
+ var obj = {};
obj[varName] = value;
setValues(obj);
}
@@ -359,7 +359,7 @@ var Tangle = this.Tangle = function (rootElement, modelClass) {
// debug
function log (msg) {
- if (window.console) window.console.log(msg);
+ if (window.console) { window.console.log(msg); }
}
}; // end of Tangle
@@ -372,5 +372,5 @@ var Tangle = this.Tangle = function (rootElement, modelClass) {
Tangle.classes = {};
Tangle.formats = {};
-Tangle.formats["default"] = function (value) { return "" + value; }
+Tangle.formats["default"] = function (value) { return "" + value; };
View
2 TangleKit/BVTouchable.js
@@ -121,7 +121,7 @@ var BVTouchable = this.BVTouchable = new Class ({
_touchCancel: function (event) {
this._touchEnd(event);
- },
+ }
});
View
8 download.html
@@ -65,9 +65,9 @@
<ul style="margin-left:20px; list-style-type:disc;">
<li>Join the <a href="https://groups.google.com/group/tangle-talk">Tangle Talk</a> discussion group.</li>
-<li>Contribute Tangle classes and formats for possible inclusion with TangleKit.</li>
-<li>Contribute documents you've made for possible inclusion in the examples.</li>
-<li>Let us know if the API makes it difficult to make something you want to make.</li>
+<li>Contribute Tangle classes and formats for TangleKit.</li>
+<li>Contribute documents you've made for the examples.</li>
+<li>Complain if the API makes it difficult to make something you want to make.</li>
<li>Complain about confusing documentation.</li>
<li>Report bugs.</li>
<li>Tell your friends.</li>
@@ -86,7 +86,7 @@
<div id="footer">
<div id="footerShadow"></div>
-<div class="author">by <a href="http://worrydream.com/">Bret Victor</a></div>
+<div class="author"><a href="http://worrydream.com/">Bret Victor</a></div>
<div class="menu">
<a href="guide.html">Getting Started</a> &nbsp; &nbsp;
View
4 guide.html
@@ -300,7 +300,7 @@
<h2>Possibilities</h2>
-<p>We just worked through a very simple example, so give you a taste of what you can tangle. </p>
+<p>We just worked through a very simple example, to give you a taste of what you can tangle. </p>
@@ -313,7 +313,7 @@
<div id="footer">
<div id="footerShadow"></div>
-<div class="author">by <a href="http://worrydream.com/">Bret Victor</a></div>
+<div class="author"><a href="http://worrydream.com/">Bret Victor</a></div>
<div class="menu">
<a href="guide.html">Getting Started</a> &nbsp; &nbsp;
View
5 index.html
@@ -247,8 +247,9 @@
<p style="text-align:center; margin-top:30px;">*&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;*</p>
-<p>For a single extensive example, see <a href="http://worrydream.com/TenBrighterIdeas/">Ten Brighter Ideas</a>.</p>
+<p>For a more extensive example, see <a href="http://worrydream.com/TenBrighterIdeas/">Ten Brighter Ideas</a>.</p>
<p>For the motivation and philosophy behind reactive documents, see <a href="http://worrydream.com/ExplorableExplanations/">Explorable Explanations</a>.</p>
+<p>Or learn how to <a href="guide.html">get started with Tangle</a>.</p>
</div> <!-- body -->
@@ -259,7 +260,7 @@
<div id="footer">
<div id="footerShadow"></div>
-<div class="author">by <a href="http://worrydream.com/">Bret Victor</a></div>
+<div class="author"><a href="http://worrydream.com/">Bret Victor</a></div>
<div class="menu">
<a href="guide.html">Getting Started</a> &nbsp; &nbsp;
View
10 reference.html
@@ -133,7 +133,7 @@ <h4 id="data-other">other data attributes</h4>
&lt;span class="TKAdjustableNumber" data-var="cookies" <b>data-min="0" data-max="20"</b>&gt;
</pre>
-<p>These additional attributes are passed to the class's <code>initialize</code> method, via the <code>options</code> parameter.</p>
+<p>These additional attributes are passed to the class's <code>initialize</code> method, via the <a href="#options"><code>options</code></a> parameter.</p>
<p>For details on what attributes a class accepts, see the documentation for the individual class.</p>
@@ -360,7 +360,7 @@ <h2 id="classes">Tangle.classes</h2>
<p>This is useful for two-dimensional controls that adjust two variables at once, or views that display multiple variables.</p>
-<h4>options</h4>
+<h4 id="options">options</h4>
<p>The <code>initialize</code> method is passed an <code><b>options</b></code> parameter:</p>
@@ -398,7 +398,7 @@ <h2 id="formats">Tangle.formats</h2>
<p>A Tangle format defines how to present a value. If your HTML is:</p>
<pre>
-&lt;span data-var="fractionOfCookiesRemainng" <b>data-format="percent"</b>&gt;
+&lt;span data-var="fractionOfCookiesRemaining" <b>data-format="percent"</b>&gt;
</pre>
<p>then when the variable is updated, the following function will be called to turn the value into a string.</p>
@@ -446,7 +446,7 @@ <h2 id="kit">TangleKit</h2>
<p>TangleKit is an optional collection of Tangle classes and formats, for adjusting variables and visualizing values. You can grab whichever components you want, use them, extend them, modify them, or just learn from them and make your own.</p>
-<p>TangleKit is currently pretty rudimentary, and not yet documented here. You can look through <a href="TangleKit/TangleKit.js">TangleKit.js</a> for what's currently available.</p>
+<p>TangleKit is currently pretty rudimentary, and not yet documented here. You can look through <a href="TangleKit/TangleKit.js">TangleKit.js</a> for what's currently available. Perhaps you'd even like to contribute to it.</p>
</div> <!-- body -->
@@ -458,7 +458,7 @@ <h2 id="kit">TangleKit</h2>
<div id="footer">
<div id="footerShadow"></div>
-<div class="author">by <a href="http://worrydream.com/">Bret Victor</a></div>
+<div class="author"><a href="http://worrydream.com/">Bret Victor</a></div>
<div class="menu">
<a href="guide.html">Getting Started</a> &nbsp; &nbsp;
View
2 style.css
@@ -39,7 +39,7 @@ body {
}
#header h1 {
- font: 46px "BorisBlackBloxx", "Helvetica", sans-serif;
+ font: 46px "BorisBlackBloxxRegular", "Helvetica", sans-serif;
color: #fff;
position:absolute;
left: 35px;

0 comments on commit 6c36561

Please sign in to comment.