Skip to content

Commit 5fc3897

Browse files
committed
* devDependencies
1 parent bb1ca80 commit 5fc3897

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

Gruntfile.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ module.exports = function (grunt) {
2525
, eqnull: true
2626

2727
, node: true
28-
, es5: true
2928
, expr: true // - "Expected an assignment or function call and instead saw an expression."
3029
, supernew: true // - "Missing '()' invoking a constructor."
3130
, laxcomma: true

package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@
33
"exportName": "FileAPI",
44
"version": "2.0.4",
55
"devDependencies": {
6-
"grunt": "~0.4.0",
7-
"grunt-version": "~0.2.2",
8-
"grunt-contrib-jshint": "~0.2.0",
9-
"grunt-contrib-concat": "~0.3.0",
10-
"grunt-contrib-uglify": "~0.2.7",
11-
"grunt-contrib-watch": "~0.5.3",
12-
"grunt-contrib-connect": "~0.5.0",
13-
"eventemitter2": "~0.4.9",
14-
"semver": "~1.0.14",
15-
"temporary": "~0.0.4",
16-
"phantomjs": "~1.9.2-4",
17-
"grunt-curl": "~1.4.0",
18-
"grunt-mxmlc": "~0.2.0",
19-
"grunt-contrib-compress": "~0.6.0"
6+
"grunt": "~0.4.5",
7+
"grunt-version": "~0.3.0",
8+
"grunt-contrib-jshint": "~0.10.0",
9+
"grunt-contrib-concat": "~0.4.0",
10+
"grunt-contrib-uglify": "~0.5.0",
11+
"grunt-contrib-watch": "~0.6.1",
12+
"grunt-contrib-connect": "~0.8.0",
13+
"eventemitter2": "~0.4.13",
14+
"semver": "~2.3.1 ",
15+
"temporary": "~0.0.8",
16+
"phantomjs": "~1.9.7-9",
17+
"grunt-curl": "~2.0.2",
18+
"grunt-mxmlc": "~0.5.1",
19+
"grunt-contrib-compress": "~0.9.1"
2020
},
2121
"description": "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.",
2222
"main": "dist/FileAPI.js",

tests/index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@
77
<title>FileAPI :: Tests</title>
88

99
<script>
10+
var isPhantomJS = /phantomjs/i.test(navigator.userAgent);
1011
var FileAPI = {
11-
html5: false
12-
, debug: !/phantomjs/i.test(navigator.userAgent)
12+
html5: true
13+
, debug: !isPhantomJS
1314
, staticPath: '../dist/'
14-
, formData: !/phantomjs/i.test(navigator.userAgent)
15+
, formData: !isPhantomJS
1516
};
1617
</script>
1718

0 commit comments

Comments
 (0)