diff options
Diffstat (limited to 'docs/psd.html')
-rw-r--r-- | docs/psd.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/psd.html b/docs/psd.html index 56dd9d9..46750eb 100644 --- a/docs/psd.html +++ b/docs/psd.html @@ -2,7 +2,7 @@ <span class="nv">Root = </span><span class="nx">exports</span> <span class="nv">fs = </span><span class="nx">require</span> <span class="s1">'fs'</span> <span class="k">else</span> - <span class="nv">Root = </span><span class="nb">window</span></pre></div> </td> </tr> <tr id="section-2"> <td class="docs"> <div class="pilwrap"> <a class="pilcrow" href="#section-2">¶</a> </div> <p>Create our class and add to global scope</p> </td> <td class="code"> <div class="highlight"><pre><span class="nv">Root.PSD = </span><span class="k">class</span> <span class="nx">PSD</span></pre></div> </td> </tr> <tr id="section-3"> <td class="docs"> <div class="pilwrap"> <a class="pilcrow" href="#section-3">¶</a> </div> <p>Version number</p> </td> <td class="code"> <div class="highlight"><pre> <span class="vi">@VERSION = </span><span class="s2">"0.4.4"</span></pre></div> </td> </tr> <tr id="section-4"> <td class="docs"> <div class="pilwrap"> <a class="pilcrow" href="#section-4">¶</a> </div> <p>Enable/disable debugging console logs</p> </td> <td class="code"> <div class="highlight"><pre> <span class="vi">@DEBUG = </span><span class="kc">false</span></pre></div> </td> </tr> <tr id="section-5"> <td class="docs"> <div class="pilwrap"> <a class="pilcrow" href="#section-5">¶</a> </div> <p>Loads a PSD from a file. If we're in node, then this loads the + <span class="nv">Root = </span><span class="nb">window</span></pre></div> </td> </tr> <tr id="section-2"> <td class="docs"> <div class="pilwrap"> <a class="pilcrow" href="#section-2">¶</a> </div> <p>Create our class and add to global scope</p> </td> <td class="code"> <div class="highlight"><pre><span class="nv">Root.PSD = </span><span class="k">class</span> <span class="nx">PSD</span></pre></div> </td> </tr> <tr id="section-3"> <td class="docs"> <div class="pilwrap"> <a class="pilcrow" href="#section-3">¶</a> </div> <p>Version number</p> </td> <td class="code"> <div class="highlight"><pre> <span class="vi">@VERSION = </span><span class="s2">"0.4.5"</span></pre></div> </td> </tr> <tr id="section-4"> <td class="docs"> <div class="pilwrap"> <a class="pilcrow" href="#section-4">¶</a> </div> <p>Enable/disable debugging console logs</p> </td> <td class="code"> <div class="highlight"><pre> <span class="vi">@DEBUG = </span><span class="kc">false</span></pre></div> </td> </tr> <tr id="section-5"> <td class="docs"> <div class="pilwrap"> <a class="pilcrow" href="#section-5">¶</a> </div> <p>Loads a PSD from a file. If we're in node, then this loads the file from the filesystem. If we're in the browser, then this assumes it has been passed a File object (either from a file input element, or from HTML5 drag & drop).</p> </td> <td class="code"> <div class="highlight"><pre> <span class="vi">@fromFile: </span><span class="nf">(file, cb = ->) -></span> |