-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'malsup/master'
- Loading branch information
Showing
7 changed files
with
367 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "jquery-form", | ||
"version": "3.51.0", | ||
"main": "jquery.form.js", | ||
"author": "M. Alsup", | ||
"dependencies": { | ||
"jquery": ">=1.5" | ||
}, | ||
"ignore": [ | ||
"README.md", | ||
"composer.json", | ||
"form.jquery.json", | ||
"package.json" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"name": "malsup/form", | ||
"description": "A simple way to AJAX-ify any form on your page; with file upload and progress support.", | ||
"type": "component", | ||
"homepage": "http://jquery.malsup.com/form/", | ||
"keywords": [ | ||
"form", | ||
"upload", | ||
"ajax" | ||
], | ||
"support": { | ||
"issues": "https://github.com/malsup/form/issues", | ||
"wiki": "http://jquery.malsup.com/form/" | ||
}, | ||
"authors": [ | ||
{ | ||
"name": "M. Alsup", | ||
"homepage": "http://jquery.malsup.com" | ||
} | ||
], | ||
"license": [ | ||
"MIT", | ||
"GPL-2.0" | ||
], | ||
"require": { | ||
"components/jquery": ">=1.5" | ||
}, | ||
"extra": { | ||
"component": { | ||
"scripts": [ | ||
"jquery.form.js" | ||
], | ||
"shim": { | ||
"deps": [ | ||
"jquery" | ||
] | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* buildfile for jquery.form plugin */ | ||
var gulp = require('gulp'), | ||
concat = require('gulp-concat'), | ||
jshint = require('gulp-jshint'), | ||
uglify = require('gulp-uglify'); | ||
|
||
gulp.task('default', function() { | ||
gulp.src(['jquery.form.js']) | ||
.pipe(jshint()) | ||
.pipe(jshint.reporter('default')) | ||
.pipe(uglify({ preserveComments: 'some' })) | ||
.pipe(concat('jquery.form.min.js')) | ||
.pipe(gulp.dest('.')); | ||
}); | ||
|
||
gulp.task('watch', function () { | ||
gulp.watch('jquery.form.js', ['default']); | ||
}); |
Oops, something went wrong.