Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Commit

Permalink
sync to upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
alexalouit committed Nov 27, 2015
1 parent bc5c2f8 commit 2fc2a16
Show file tree
Hide file tree
Showing 33 changed files with 3 additions and 19 deletions.
Empty file modified CHANGELOG.md
100644 → 100755
Empty file.
Empty file modified Gruntfile.js
100644 → 100755
Empty file.
Empty file modified LICENSE
100644 → 100755
Empty file.
Empty file modified README.md
100644 → 100755
Empty file.
Empty file modified _config.yml
100644 → 100755
Empty file.
Empty file modified bower.json
100644 → 100755
Empty file.
8 changes: 1 addition & 7 deletions dist/validator.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -215,17 +215,11 @@

Validator.prototype.toggleSubmit = function () {
if(!this.options.disable) return
<<<<<<< HEAD
var $btn = $('button[type="submit"], [data-validator="submit"], input[type="submit"]')
.filter('[form="' + this.$element.attr('id') + '"]')
.add(this.$element.find('input[type="submit"], button[type="submit"], [data-validator="submit"]'))
=======

var $btn = $('button[type="submit"], input[type="submit"]')
.filter('[form="' + this.$element.attr('id') + '"]')
.add(this.$element.find('input[type="submit"], button[type="submit"]'))

>>>>>>> 1000hz/master
$btn.toggleClass('disabled', this.isIncomplete() || this.hasErrors())
}

Expand Down Expand Up @@ -260,7 +254,7 @@
.html(originalContent)
})

this.$element.find('input[type="submit"], button[type="submit"], [data-validator="submit"]').removeClass('disabled')
this.$element.find('input[type="submit"], button[type="submit"]').removeClass('disabled')

this.$element.find('.has-error').removeClass('has-error')

Expand Down
6 changes: 1 addition & 5 deletions dist/validator.min.js
100644 → 100755

Large diffs are not rendered by default.

Empty file modified docs/LICENSE
100644 → 100755
Empty file.
Empty file modified docs/_includes/footer.html
100644 → 100755
Empty file.
Empty file modified docs/_includes/header.html
100644 → 100755
Empty file.
Empty file modified docs/_includes/nav-main.html
100644 → 100755
Empty file.
Empty file modified docs/_includes/nav-validator.html
100644 → 100755
Empty file.
Empty file modified docs/_includes/social-buttons.html
100644 → 100755
Empty file.
Empty file modified docs/_layouts/default.html
100644 → 100755
Empty file.
Empty file modified docs/assets/css/docs.css
100644 → 100755
Empty file.
Empty file modified docs/assets/css/pygments-manni.css
100644 → 100755
Empty file.
Empty file modified docs/assets/ico/apple-touch-icon-144-precomposed.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/assets/ico/favicon.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/assets/js/application.js
100644 → 100755
Empty file.
Empty file modified docs/dist/validator.js
100644 → 100755
Empty file.
Empty file modified docs/dist/validator.min.js
100644 → 100755
Empty file.
Empty file modified docs/index.html
100644 → 100755
Empty file.
Empty file modified js/.jshintrc
100644 → 100755
Empty file.
Empty file modified js/tests/index.html
100644 → 100755
Empty file.
Empty file modified js/tests/unit/phantom.js
100644 → 100755
Empty file.
Empty file modified js/tests/unit/validator.js
100644 → 100755
Empty file.
Empty file modified js/tests/vendor/jquery.js
100644 → 100755
Empty file.
Empty file modified js/tests/vendor/jquery.mockjax.js
100644 → 100755
Empty file.
Empty file modified js/tests/vendor/qunit.css
100644 → 100755
Empty file.
Empty file modified js/tests/vendor/qunit.js
100644 → 100755
Empty file.
8 changes: 1 addition & 7 deletions js/validator.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -235,17 +235,11 @@

Validator.prototype.toggleSubmit = function () {
if(!this.options.disable) return
<<<<<<< HEAD
var $btn = $('button[type="submit"], [data-validator="submit"], input[type="submit"]')
.filter('[form="' + this.$element.attr('id') + '"]')
.add(this.$element.find('input[type="submit"], button[type="submit"], [data-validator="submit"]'))
=======

var $btn = $('button[type="submit"], input[type="submit"]')
.filter('[form="' + this.$element.attr('id') + '"]')
.add(this.$element.find('input[type="submit"], button[type="submit"]'))

>>>>>>> 1000hz/master
$btn.toggleClass('disabled', this.isIncomplete() || this.hasErrors())
}

Expand Down Expand Up @@ -280,7 +274,7 @@
.html(originalContent)
})

this.$element.find('input[type="submit"], button[type="submit"], [data-validator="submit"]').removeClass('disabled')
this.$element.find('input[type="submit"], button[type="submit"]').removeClass('disabled')

this.$element.find('.has-error').removeClass('has-error')

Expand Down
Empty file modified package.json
100644 → 100755
Empty file.

0 comments on commit 2fc2a16

Please sign in to comment.