Skip to content

Commit

Permalink
Improved the jshint config a bit more
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-brown committed Oct 22, 2014
1 parent cbfe23e commit 9c6a187
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
{
"bitwise": true,
"camelcase": true,
"curly": true,
"es3": true,
"eqnull": true,
"freeze": true,
"globals": {
"define": true
},
"indent": 2,
"maxlen": 80,
"noarg": true,
"nonew": true,
"quotmark": "single"
}
2 changes: 1 addition & 1 deletion dist/js/select2.amd.full.js
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ define('select2/data/ajax',[
var self = this;

var options = $.extend({
type: 'GET',
type: 'GET'
}, this.ajaxOptions);

if (typeof options.url === 'function') {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/select2.amd.js
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ define('select2/data/ajax',[
var self = this;

var options = $.extend({
type: 'GET',
type: 'GET'
}, this.ajaxOptions);

if (typeof options.url === 'function') {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/select2.full.js
Original file line number Diff line number Diff line change
Expand Up @@ -10203,7 +10203,7 @@ define('select2/data/ajax',[
var self = this;

var options = $.extend({
type: 'GET',
type: 'GET'
}, this.ajaxOptions);

if (typeof options.url === 'function') {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/select2.js
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,7 @@ define('select2/data/ajax',[
var self = this;

var options = $.extend({
type: 'GET',
type: 'GET'
}, this.ajaxOptions);

if (typeof options.url === 'function') {
Expand Down
2 changes: 1 addition & 1 deletion src/js/select2/data/ajax.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ define([
var self = this;

var options = $.extend({
type: 'GET',
type: 'GET'
}, this.ajaxOptions);

if (typeof options.url === 'function') {
Expand Down

0 comments on commit 9c6a187

Please sign in to comment.