From 5652f45ff074ec1ce333c2cce73a73693506db71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Be=C3=B1at=20Espi=C3=B1a?= Date: Fri, 18 Sep 2015 11:07:13 +0200 Subject: [PATCH 1/2] Renamed the library name. Avoid issues when the library is downloaded with Bower because, now, the folder of library is created with "backbone-model-file-upload tests" name and this whitespace generates an error with the path. --- bower.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bower.json b/bower.json index 0332060..fbdfaca 100644 --- a/bower.json +++ b/bower.json @@ -1,5 +1,5 @@ { - "name": "backbone-model-file-upload tests", + "name": "backbone-model-file-upload", "main": "backbone-model-file-upload.js", "dependencies": { "jquery": "~2.1.1", From 461b3ea95a1d0387e72c9dcc7ed35d32639b9c45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Be=C3=B1at=20Espi=C3=B1a?= Date: Fri, 18 Sep 2015 11:17:47 +0200 Subject: [PATCH 2/2] Improvements into bower.json --- bower.json | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/bower.json b/bower.json index fbdfaca..2a079f8 100644 --- a/bower.json +++ b/bower.json @@ -1,9 +1,24 @@ { "name": "backbone-model-file-upload", + "description": "A concise, non-iframe, & pure XHR2/AJAX Backbone.model file upload. (Good for IE >= 10, FF, Chrome.)", + "version": "1.0.0", "main": "backbone-model-file-upload.js", + "keywords": [ + "backbone", + "fileupload", + "file", + "model", + "multipart" + ], + "author": "Joe Vu", + "license": "MIT", + "bugs": { + "url": "https://github.com/homeslicesolutions/backbone-model-file-upload/issues" + }, + "homepage": "https://github.com/homeslicesolutions/backbone-model-file-upload", "dependencies": { - "jquery": "~2.1.1", + "jquery": "~2.1.1", "backbone": "~1.1.2", - "Blob": "*" + "Blob": "*" } }