Skip to content

Commit 7de1a76

Browse files
added widget factory and changed Readme
Signed-off-by: Dominic Böttger <[email protected]>
1 parent 2ede14b commit 7de1a76

File tree

5 files changed

+547
-6
lines changed

5 files changed

+547
-6
lines changed

Gruntfile.js

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ module.exports = function (grunt) {
3030
concat: {
3131
dist: {
3232
src: [
33+
'js/vendor/jquery.ui.widget.js',
3334
'js/jquery.iframe-transport.js',
3435
'js/jquery.fileupload.js',
3536
'js/jquery.fileupload-process.js',

README.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1-
# jQuery File Upload Plugin
1+
# jQuery File Upload Plugin - AngularJS Fork
2+
3+
This is a fork of [Blueimp File Upload](https://github.com/blueimp/jQuery-File-Upload) with improved angular integration.
4+
Additionally all js files are bundled into dist/.
5+
6+
The whole plugin has been bundled into a angular directive which can be changed via html attributes.
7+
8+
## Usage
9+
10+
```
11+
<ng-upload-form url="//jquery-file-upload.appspot.com/" auto-upload="true" size-limit="500000"></ng-upload-form>
12+
```
213

314
## Demo
415
[Demo File Upload](http://blueimp.github.io/jQuery-File-Upload/)

angularjs.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,6 @@ <h3 class="title"></h3>
111111
</div>
112112
<script src="bower_components/jquery/dist/jquery.js"></script>
113113
<script src="bower_components/angular/angular.js"></script>
114-
<!-- The jQuery UI widget factory, can be omitted if jQuery UI is already included -->
115-
<script src="js/vendor/jquery.ui.widget.js"></script>
116114
<!-- The Load Image plugin is included for the preview images and image resizing functionality -->
117115
<script src="bower_components/blueimp-load-image/js/load-image.min.js"></script>
118116
<!-- The Canvas to Blob plugin is included for image resizing functionality -->
@@ -124,4 +122,4 @@ <h3 class="title"></h3>
124122
<!-- The basic File Upload plugin -->
125123

126124
</body>
127-
</html>
125+
</html>

0 commit comments

Comments
 (0)