Skip to content

Commit

Permalink
Documentation update
Browse files Browse the repository at this point in the history
  • Loading branch information
meltingice committed Jun 22, 2013
1 parent b2e1baf commit 1f6d999
Show file tree
Hide file tree
Showing 35 changed files with 36 additions and 48 deletions.
2 changes: 1 addition & 1 deletion api/LICENSE.html
Expand Up @@ -129,7 +129,7 @@
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
16 changes: 2 additions & 14 deletions api/README.md.html
Expand Up @@ -129,24 +129,12 @@ <h3>HiDPI Support</h3><p>Version 4 introduces better support for HiDPI (Retina)
<h2>Upgrading to Version 4</h2><p>There is only 1 breaking change that occured with the version 4 release. When you initialize CamanJS with a canvas and an image, the parameter order has changed. It is now:</p><pre><code class="lang-javascript">Caman(&quot;#canvas-id&quot;, &quot;/path/to/image.png&quot;, function() {});</code></pre><p>This is in order to be more consistent with initialization, such that the &quot;initialization object&quot; is always the first parameter. Update your code accordingly.</p><h2>Development</h2><p>If you are a developer who is contributing directly to the project, there are some tools to help you out.</p><h3>Building</h3><p>To install all dependencies required for development, run <code>npm install -d</code>.</p><p>Because all plugins are in a separate repository, make sure you run:</p><pre><code>git submodule init &amp;&amp; git submodule update</code></pre><p>To build, simply run <code>cake build</code>. The resulting files will be placed in the dist/ folder. Plugins will be automatically discovered and added to caman.full.js after the core library. You can also auto-compile when a file changes by using <code>cake watch</code>.</p><p>If you add any files to the core library, you will need to add them to the <code>coffeeFiles</code> array in the Cakefile. The point of this is so that order is preserved when generating the file JS file. Plugins do not need to be added to the Cakefile.</p><p>You will probably want to generate documentation if you make any changes. In addition to the normal requirements, you will also need the Python library Pygments.</p><p>To generate the documentation, run <code>cake docs</code>.</p><h2>CDN JS Hosting</h2><p>CamanJS is hosted on CDN JS if you&#39;re looking for a CDN hosting solution. It is the full and minified version of the library, which means all plugins are included. Simply load CamanJS directly from <a href="http://cdnjs.cloudflare.com/ajax/libs/camanjs/3.3.0/caman.full.min.js">this URL</a> for usage on your site.</p><h2>NodeJS Compatibility</h2><p>CamanJS is fully compatible with NodeJS. The easiest way to install it is:</p><pre><code>npm install caman</code></pre><p><strong>Saving from NodeJS</strong></p><p>To save your modified image in NodeJS, simply call the save() function <strong>after</strong> rendering is finished by passing a callback function to <code>render()</code>. Trying to save before rendering is finished will cause issues.</p><pre><code class="lang-coffeescript">Caman &quot;./path/to/file.jpg&quot;, -&gt;
@brightness 40
@render -&gt; @save &quot;./output.jpg&quot;</code></pre>
<h2>Testing</h2><p>Tests for CamanJS run both in NodeJS and the browser.</p><h3>NodeJS</h3><p>The NodeJS tests use mocha as the test runner. The simplest way to run the test suite is by running <code>npm test</code>.</p><h3>Browser</h3><p>The browser tests are run by Karma. It will start up Chrome, Firefox, and Safari (if running OSX) in the background. You can minimize each of these browsers if desired. It will automatically run tests after CamanJS is recompiled by the Cakefile as well.</p><p>You can run Karma by running <code>karma start</code>, or you can do a single run with the NodeJS tests by running <code>npm test</code>.</p><h2>Project Contributors</h2>
<ul>
<li><a href="http://twitter.com/meltingice">Ryan LeFevre</a> - Project Creator, Maintainer, and Lead Developer</li>
<li><a href="http://twitter.com/rwaldron">Rick Waldron</a> - Plugin Architect and Developer</li>
<li><a href="http://twitter.com/cezarsa">Cezar Sá Espinola</a> - Developer</li>
<li><a href="http://twitter.com/jarques">Jarques Pretorius</a> - Logo Designer</li>
</ul>
<h2>Plugin Contributors</h2>
<ul>
<li><a href="https://github.com/Hosselaer">Hosselaer</a></li>
<li><a href="http://www.quasimondo.com">Mario Klingemann</a></li>
</ul>

<h2>Testing</h2><p>Tests for CamanJS run both in NodeJS and the browser.</p><h3>NodeJS</h3><p>The NodeJS tests use mocha as the test runner. The simplest way to run the test suite is by running <code>npm test</code>.</p><h3>Browser</h3><p>The browser tests are run by Karma. It will start up Chrome, Firefox, and Safari (if running OSX) in the background. You can minimize each of these browsers if desired. It will automatically run tests after CamanJS is recompiled by the Cakefile as well.</p><p>You can run Karma by running <code>karma start</code>, or you can do a single run with the NodeJS tests by running <code>npm test</code>.</p>
</div>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/class_index.html
Expand Up @@ -416,7 +416,7 @@ <h2>File Listing A-Z</h2>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/classes/Caman.html
Expand Up @@ -1446,7 +1446,7 @@ <h3>Parameters:</h3>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/classes/Caman/Analyze.html
Expand Up @@ -181,7 +181,7 @@ <h3>Returns:</h3>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/classes/Caman/Blender.html
Expand Up @@ -220,7 +220,7 @@ <h3>Returns:</h3>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/classes/Caman/Calculate.html
Expand Up @@ -371,7 +371,7 @@ <h3>Returns:</h3>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/classes/Caman/Convert.html
Expand Up @@ -986,7 +986,7 @@ <h3>See also:</h3>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/classes/Caman/Event.html
Expand Up @@ -272,7 +272,7 @@ <h3>Parameters:</h3>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/classes/Caman/Filter.html
Expand Up @@ -170,7 +170,7 @@ <h3>Parameters:</h3>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/classes/Caman/IO.html
Expand Up @@ -471,7 +471,7 @@ <h3>See also:</h3>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/classes/Caman/Layer.html
Expand Up @@ -302,7 +302,7 @@ <h2>Instance Method Details</h2>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/classes/Caman/Logger.html
Expand Up @@ -149,7 +149,7 @@ <h2>Constructor Details</h2>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/classes/Caman/Pixel.html
Expand Up @@ -363,7 +363,7 @@ <h2>Instance Method Details</h2>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/classes/Caman/Plugin.html
Expand Up @@ -165,7 +165,7 @@ <h2>Class Method Details</h2>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/classes/Caman/Renderer.html
Expand Up @@ -369,7 +369,7 @@ <h2>Instance Method Details</h2>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/classes/Caman/Store.html
Expand Up @@ -217,7 +217,7 @@ <h2>Class Method Details</h2>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/classes/CamanParser.html
Expand Up @@ -227,7 +227,7 @@ <h2>Instance Method Details</h2>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/classes/Module.html
Expand Up @@ -249,7 +249,7 @@ <h2>Class Method Details</h2>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/classes/Util.html
Expand Up @@ -201,7 +201,7 @@ <h2>Class Method Details</h2>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/files/core/analyze.coffee.html
Expand Up @@ -119,7 +119,7 @@ <h1>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/files/core/autoload.coffee.html
Expand Up @@ -146,7 +146,7 @@ <h2>Method Details</h2>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/files/core/blender.coffee.html
Expand Up @@ -119,7 +119,7 @@ <h1>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/files/core/calculate.coffee.html
Expand Up @@ -119,7 +119,7 @@ <h1>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/files/core/caman.coffee.html
Expand Up @@ -119,7 +119,7 @@ <h1>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/files/core/convert.coffee.html
Expand Up @@ -119,7 +119,7 @@ <h1>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/files/core/event.coffee.html
Expand Up @@ -119,7 +119,7 @@ <h1>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/files/core/filter.coffee.html
Expand Up @@ -119,7 +119,7 @@ <h1>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/files/core/io.coffee.html
Expand Up @@ -131,7 +131,7 @@ <h2>Constant Summary</h2>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/files/core/layer.coffee.html
Expand Up @@ -119,7 +119,7 @@ <h1>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/files/core/pixel.coffee.html
Expand Up @@ -119,7 +119,7 @@ <h1>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/files/core/plugin.coffee.html
Expand Up @@ -119,7 +119,7 @@ <h1>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/files/core/renderer.coffee.html
Expand Up @@ -119,7 +119,7 @@ <h1>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/files/core/store.coffee.html
Expand Up @@ -119,7 +119,7 @@ <h1>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion api/files/core/util.coffee.html
Expand Up @@ -146,7 +146,7 @@ <h2>Method Details</h2>
</div>
<div id='footer'>
Generated on
Fri Jun 21 2013 22:38:25 GMT-0400 (EDT)
Fri Jun 21 2013 23:13:05 GMT-0400 (EDT)
by
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
v1.7.0
Expand Down

0 comments on commit 1f6d999

Please sign in to comment.