Commit Graph

30 Commits

Author SHA1 Message Date
Joe Vu
1272305a6a Major refactor
- Refactor module to extend the appropriate backbone way
- Added CommonJS support
- Just lots of cleanup
2014-12-17 03:56:31 -08:00
Joe Vu
43bf2a32db Update readme with test and dev information 2014-12-17 00:00:14 -08:00
Joe Vu
44cc8f617a Added grunt to travis config 2014-12-16 23:38:44 -08:00
Joe Vu
29a92fd51b Auto test and install methods added 2014-12-16 23:33:48 -08:00
Joe Vu
79205951f8 Update README.md 2014-12-01 11:01:10 -08:00
Joe Vu
b7cf4da18a Update backbone-model-file-upload.js
Just changed the version
2014-12-01 10:58:10 -08:00
Joe Vu
b5202287d9 Merge pull request #11 from bildja/patch-2
Add jquery dependency.
2014-12-01 10:57:14 -08:00
Dima Bildin
9b815b7c7d Add jquery dependency.
Request just won't be sent If there is no global `$`, adding it to amd dependency for this case
2014-12-01 16:25:42 +02:00
Joe Vu
2adf33e207 Removing wrong description of IE9 support 2014-10-17 15:09:56 -07:00
Joe Vu
a2a0295726 Fix existing "this" scope issue in progress handler
Update description
2014-10-16 16:02:57 -07:00
Joe Vu
a1c53669d1 Fix existing "this" scope issue in progress handler 2014-10-16 16:01:33 -07:00
homeslicesolutions
dfef13aa7b Refactored some code and updated read me 2014-09-11 03:21:24 -07:00
Joe Vu
b049eede1f Merge pull request #8 from Minjung/master
handle FileList objects
2014-09-11 03:08:12 -07:00
Alejandro
48b68bdc69 handle FileList objects
Recurse FileList objects from file inputs with multiple files and add all the files, this will generate an array on the server when getting the fileattribute key.

I use this in Flask (python) as an example:
files = request.files.getlist('files')

Which returns when using fileAtrribute: 'files':
[<FileStorage: u'file1.png' ('image/png')>, <FileStorage: u'file2.png' ('image/png')>]
2014-09-09 15:28:02 -03:00
homeslicesolutions
cf822220d8 Added some test around {silent: true} 2014-08-30 12:17:54 -07:00
Joe Vu
3afbb674c4 Updated 0.4 documentation 2014-08-30 12:10:37 -07:00
homeslicesolutions
3a31989778 Big fixes with arguments and save
The current state was completely messed up with saving and all the
different scenarios.  This update brings back my main intent of the
code and also does a separate merge of the attributes for the use of
the FileObj.  It also adds Blob support, and I finally written some
tests.
2014-08-30 12:08:56 -07:00
Joe Vu
5236fd812b Added revision notes 2014-08-06 17:49:40 -07:00
Joe Vu
e46cc04f02 Added "attrs" fix and new just "options" feature 2014-08-06 17:46:18 -07:00
Joe Vu
ac753be726 Merge pull request #1 from bildja/patch-1
Added UMD approach to the module - Thanks @bildja!
2014-08-06 12:18:34 -07:00
Dima Bildin
c8360385e7 Added UMD approach to the module 2014-07-26 18:40:32 +03:00
Joe Vu
88c3f2d1a7 Create LICENSE 2014-03-18 23:16:43 -07:00
Joe Vu
d26f1811aa Update README.md
Better explanations in how it works
2014-03-18 17:38:44 -07:00
Joe Vu
d16d0337a1 Some small wording fixes 2014-03-18 13:24:17 -07:00
Joe Vu
ec209ecf95 Update backbone-model-file-upload.js
Fix some updates to the "formData" logic
2014-03-18 13:21:16 -07:00
Joe Vu
fab16122b4 Update README.md 2014-03-18 13:15:35 -07:00
Joe Vu
89379b527d Update README.md 2014-03-18 09:32:38 -07:00
homeslicesolutions
9b7ce2291b Added support for nested objects
Objects with deep nodes will be flattened to single-level.
2014-03-18 09:17:02 -07:00
homeslicesolutions
704ca1e874 Updated README and clean up a few 2014-03-18 05:06:20 -07:00
homeslicesolutions
cdcd63b31c Initial commit 2014-03-18 04:16:27 -07:00