Skip to content

Commit 40b6cd5

Browse files
committed
#289: * WebCam & html5 == false
1 parent 98093c0 commit 40b6cd5

File tree

9 files changed

+20
-20
lines changed

9 files changed

+20
-20
lines changed

Gruntfile.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ module.exports = function (grunt) {
187187
}
188188
});
189189

190+
grunt.registerTask('dev', ['concat', 'watch']);
190191
grunt.registerTask('tests', ['jshint', 'concat', 'connect:server','prepare-test-files', 'qunit']);
191192
grunt.registerTask('build', ['version', 'concat', 'uglify']);
192193
grunt.registerTask('build-all', ['build', 'mxmlc']);

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1395,6 +1395,11 @@ Button like link.
13951395
<a name="Changelog"></a>
13961396
## Changelog
13971397
1398+
### 2.0.10
1399+
<ul>
1400+
<li>#289: * WebCam & html5 == false</li>
1401+
</ul>
1402+
13981403
13991404
### 2.0.9
14001405
<ul>

dist/FileAPI.html5.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! FileAPI 2.0.9 - BSD | git://github.com/mailru/FileAPI.git
1+
/*! FileAPI 2.0.10 - BSD | git://github.com/mailru/FileAPI.git
22
* FileAPI — a set of javascript tools for working with files. Multiupload, drag'n'drop and chunked file upload. Images: crop, resize and auto orientation by EXIF.
33
*/
44

@@ -280,7 +280,7 @@
280280
* FileAPI (core object)
281281
*/
282282
api = {
283-
version: '2.0.9',
283+
version: '2.0.10',
284284

285285
cors: false,
286286
html5: true,
@@ -3333,10 +3333,8 @@
33333333
var _each = api.each,
33343334
_cameraQueue = [];
33353335

3336-
3337-
if (api.support.flash && (api.media && !api.support.media)) {
3336+
if (api.support.flash && (api.media && (!api.support.media || !api.html5))) {
33383337
(function () {
3339-
33403338
function _wrap(fn) {
33413339
var id = fn.wid = api.uid();
33423340
api.Flash._fn[id] = fn;

dist/FileAPI.html5.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/FileAPI.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! FileAPI 2.0.9 - BSD | git://github.com/mailru/FileAPI.git
1+
/*! FileAPI 2.0.10 - BSD | git://github.com/mailru/FileAPI.git
22
* FileAPI — a set of javascript tools for working with files. Multiupload, drag'n'drop and chunked file upload. Images: crop, resize and auto orientation by EXIF.
33
*/
44

@@ -280,7 +280,7 @@
280280
* FileAPI (core object)
281281
*/
282282
api = {
283-
version: '2.0.9',
283+
version: '2.0.10',
284284

285285
cors: false,
286286
html5: true,
@@ -4125,10 +4125,8 @@
41254125
var _each = api.each,
41264126
_cameraQueue = [];
41274127

4128-
4129-
if (api.support.flash && (api.media && !api.support.media)) {
4128+
if (api.support.flash && (api.media && (!api.support.media || !api.html5))) {
41304129
(function () {
4131-
41324130
function _wrap(fn) {
41334131
var id = fn.wid = api.uid();
41344132
api.Flash._fn[id] = fn;

dist/FileAPI.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/FileAPI.Flash.Camera.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,8 @@
1111
var _each = api.each,
1212
_cameraQueue = [];
1313

14-
15-
if (api.support.flash && (api.media && !api.support.media)) {
14+
if (api.support.flash && (api.media && (!api.support.media || !api.html5))) {
1615
(function () {
17-
1816
function _wrap(fn) {
1917
var id = fn.wid = api.uid();
2018
api.Flash._fn[id] = fn;

lib/FileAPI.core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
* FileAPI (core object)
187187
*/
188188
api = {
189-
version: '2.0.9',
189+
version: '2.0.10',
190190

191191
cors: false,
192192
html5: true,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "fileapi",
33
"exportName": "FileAPI",
4-
"version": "2.0.9",
4+
"version": "2.0.10",
55
"devDependencies": {
66
"grunt": "~0.4.5",
77
"grunt-version": "~0.3.0",

0 commit comments

Comments
 (0)