instant-upload 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 50e6a79ca189c9dee118dd97c17262a65d022bdb
|
|
4
|
+
data.tar.gz: 70c031142c9cab7b6abd8049b7934039000f2a34
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 28f6e461520c0c5688f63a47a2d00bdaa955a39d110737990e0be433fa4ceeafd4faec4d41b654c2e3445919125610288a38294d14f4e73f839d8c02a7c9a307
|
|
7
|
+
data.tar.gz: d40c4409c2b8b70c13e219ec90f66c6749c6b870554fdc308ffe49587d8b26663dca1b4120690942256a54dc70284fe4e8c3dfd26a46b6d7bf4cbb95e2801e2b
|
|
@@ -126,17 +126,17 @@ app = angular.module('instantUpload', [])
|
|
|
126
126
|
handler = new UploadHandler($uploader)
|
|
127
127
|
|
|
128
128
|
# set width of the dropzone div for progressbar
|
|
129
|
-
$uploader.find('.iu-simple-dropzone').each ->
|
|
130
|
-
|
|
129
|
+
# $uploader.find('.iu-simple-dropzone').each ->
|
|
130
|
+
# $this = $(this)
|
|
131
131
|
|
|
132
|
-
|
|
133
|
-
|
|
132
|
+
# width = $this.find('img').outerWidth()
|
|
133
|
+
# height = $this.find('img').outerHeight()
|
|
134
134
|
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
# $this.width width
|
|
136
|
+
# $this.height height
|
|
137
137
|
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
# $this.find('img').css 'width', width
|
|
139
|
+
# $this.find('img').css 'height', height
|
|
140
140
|
|
|
141
141
|
$ -> $scope.init($($element)) if !!window.FormData
|
|
142
142
|
|