Skip to content

Commit 799178e

Browse files
committed
Merge pull request victorjonsson#385 from ray-print/issue323_fixIeCompatibility
Issue323 Make IE compatible
2 parents e9ec005 + 4cfe00a commit 799178e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+43
-111
lines changed

Gruntfile.js

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ module.exports = function (grunt) {
126126
});
127127

128128
/*
129-
* Change to new version or the next version number in all files
130-
* containing the version definition
129+
* Change to new version or the next version number. The project must be built again after this task
130+
* in order for the version change to take effect.
131131
*/
132132
grunt.registerTask('version', 'Bump up the version number, or change version name by adding --new-version=3.1.0', function () {
133133
var pkg = grunt.config.get('pkg'),
@@ -142,19 +142,6 @@ module.exports = function (grunt) {
142142
}
143143

144144
grunt.log.writeln('* Moving from version ' + currentVersion + ' to ' + newVersion);
145-
var fromVersion = '@version ' + currentVersion,
146-
toVersion = '@version ' + newVersion;
147-
148-
149-
// replace version in config files and dev-files
150-
fs.readdirSync(SRC_DIR).forEach(function(file) {
151-
if (isJavascriptFile(file)) {
152-
replaceInFile(SRC_DIR+file, fromVersion, toVersion);
153-
}
154-
});
155-
filesToBuild.devFiles.forEach(function (filePath) {
156-
replaceInFile(filePath, fromVersion, toVersion);
157-
});
158145

159146
replaceInFile('package.json', '"version": "' + currentVersion + '"', '"version": "' + newVersion + '"');
160147
replaceInFile('formvalidator.jquery.json', '"version": "' + currentVersion + '"', '"version": "' + newVersion + '"');

form-validator/brazil.dev.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
*
1212
* @website http://formvalidator.net/#brazil-validators
1313
* @license MIT
14-
* @version 2.2.163
1514
*/
1615

1716
$.formUtils.addValidator({

form-validator/brazil.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

form-validator/date.dev.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
*
1111
* @website http://formvalidator.net/#location-validators
1212
* @license MIT
13-
* @version 2.2.163
1413
*/
1514
(function($) {
1615

form-validator/date.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* JQUERY-FORM-VALIDATOR
33
*
4-
* @version 2.2.163
4+
* @version 2.2.164
55
* @website http://formvalidator.net/
66
* @author Victor Jonsson, http://victorjonsson.se
77
* @license MIT

form-validator/file.dev.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
*
1111
* @website http://formvalidator.net/#file-validators
1212
* @license MIT
13-
* @version 2.2.163
1413
*/
1514
(function($, window) {
1615

form-validator/file.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

form-validator/html5.dev.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
*
1818
* @website http://formvalidator.net/
1919
* @license MIT
20-
* @version 2.2.157
2120
*/
2221
(function($, window) {
2322

form-validator/html5.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

form-validator/jquery.form-validator.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.

0 commit comments

Comments
 (0)