summaryrefslogtreecommitdiffstats
path: root/afm-client/bower_components/jszip/README.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'afm-client/bower_components/jszip/README.markdown')
-rw-r--r--afm-client/bower_components/jszip/README.markdown41
1 files changed, 41 insertions, 0 deletions
diff --git a/afm-client/bower_components/jszip/README.markdown b/afm-client/bower_components/jszip/README.markdown
new file mode 100644
index 0000000..5cfa5dd
--- /dev/null
+++ b/afm-client/bower_components/jszip/README.markdown
@@ -0,0 +1,41 @@
+JSZip
+=====
+
+A library for creating, reading and editing .zip files with Javascript, with a
+lovely and simple API.
+
+See http://stuartk.com/jszip for all the documentation.
+
+```javascript
+var zip = new JSZip();
+
+zip.file("Hello.txt", "Hello World\n");
+
+var img = zip.folder("images");
+img.file("smile.gif", imgData, {base64: true});
+
+var content = zip.generate({type:"blob"});
+
+// see FileSaver.js
+saveAs(content, "example.zip");
+
+/*
+Results in a zip containing
+Hello.txt
+images/
+ smile.gif
+*/
+```
+
+Test status
+-----------
+
+[![Build Status](https://api.travis-ci.org/Stuk/jszip.svg?branch=master)](http://travis-ci.org/Stuk/jszip)
+
+[![Selenium Test Status](https://saucelabs.com/browser-matrix/jszip.svg)](https://saucelabs.com/u/jszip)
+
+License
+-------
+
+JSZip is dual-licensed. You may use it under the MIT license *or* the GPLv3
+license. See [LICENSE.markdown](LICENSE.markdown).
Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
<!-- Foundation Annotations generate tmp/route.js -->
---
name: mysample
url:  /sample
controller:   SampleController as ctrl
animationIn: slideInRight
---

<h1><img class="logo" src="images/logo/triskel_iot_bzhx250.png" alt="IoT.bzh Logo" style="height:150px;">
    Post File Upload
</h1>

<div class="sample-box box-content">
    
    <!-- Usage: upload-xxxxx
         name     = [xxxxxx] is use a field label for xform input field. Should match with server side
         category = [avatar] should match to a valid directory of thumbnail within AppConfig.path
         thumbnail= [tux-bzh.png] a valid image within AppConfig.paths.[category]
         istoobig = [istoobig.png] used image from AppConfig.paths.[category] when file is oversized
         maxsize  = [xxx] maximum size in KB [default max depend on upload-type]
         accept = [image] acceptable accept for upload
    -->
    <upload-image name="avatar" category="avatar" thumbnail="tux-visitor.png" maxsize="100" 
        posturl="/api/post/upload-image" callback="ctrl.FileUploaded" accept="image" title="Change your Avatar">
    </upload-image>
    
    <!-- Warning: name=xxx should match with what server expect [used as xform input name -->
    <upload-audio  name="music" posturl="/api/post/upload-music" callback="ctrl.FileUploaded" title="Upload your Music"></upload-audio>

    <!-- Warning: name=xxx should match with what server expect [used as xform input name -->
    <upload-appli  name="appli" posturl="/api/post/upload-appli" callback="ctrl.FileUploaded" title="Upload AGL App"></upload-appli>

</div>

<link-button href="home" icon="fi-home" label="home"></link-button>