Permalink
Browse files

Remove unneeded quotes.

  • Loading branch information...
1 parent 5e6d16e commit 9d027d2beedc5d287de2ec0ae740cf4be05b46ac @XhmikosR XhmikosR committed Mar 9, 2014
Showing with 21 additions and 20 deletions.
  1. +3 −3 Gruntfile.js
  2. +4 −4 dist/js/bootstrap.js
  3. +3 −3 docs/assets/js/src/customizer.js
  4. +1 −0 js/.jscsrc
  5. +6 −6 js/tests/unit/tooltip.js
  6. +4 −4 js/transition.js
View
6 Gruntfile.js
@@ -66,8 +66,8 @@ module.exports = function (grunt) {
},
grunt: {
options: {
- 'requireCamelCaseOrUpperCaseIdentifiers': null,
- 'requireParenthesesAroundIIFE': true
+ requireCamelCaseOrUpperCaseIdentifiers: null,
+ requireParenthesesAroundIIFE: true
},
src: '<%= jshint.grunt.src %>'
},
@@ -95,7 +95,7 @@ module.exports = function (grunt) {
],
docs: {
options: {
- 'ids': false,
+ ids: false,
'overqualified-elements': false
},
src: 'docs/assets/css/src/docs.css'
View
8 dist/js/bootstrap.js
@@ -25,10 +25,10 @@ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript re
var el = document.createElement('bootstrap')
var transEndEventNames = {
- 'WebkitTransition' : 'webkitTransitionEnd',
- 'MozTransition' : 'transitionend',
- 'OTransition' : 'oTransitionEnd otransitionend',
- 'transition' : 'transitionend'
+ WebkitTransition : 'webkitTransitionEnd',
+ MozTransition : 'transitionend',
+ OTransition : 'oTransitionEnd otransitionend',
+ transition : 'transitionend'
}
for (var name in transEndEventNames) {
View
6 docs/assets/js/src/customizer.js
@@ -45,11 +45,11 @@ window.onload = function () { // wait for load in a dumb way because B-0
function createGist(configJson) {
var data = {
- 'description': 'Bootstrap Customizer Config',
+ description: 'Bootstrap Customizer Config',
'public': true,
- 'files': {
+ files: {
'config.json': {
- 'content': configJson
+ content: configJson
}
}
}
View
1 js/.jscsrc
@@ -4,6 +4,7 @@
"disallowLeftStickedOperators": ["?", "+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"disallowMixedSpacesAndTabs": true,
"disallowMultipleLineStrings": true,
+ "disallowQuotedKeysInObjects": "allButReserved",
"disallowRightStickedOperators": ["?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~"],
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
View
12 js/tests/unit/tooltip.js
@@ -391,12 +391,12 @@ $(function () {
test('tooltips should be placed dynamically, with the dynamic placement option', function () {
$.support.transition = false
var ttContainer = $('<div id="dynamic-tt-test"/>').css({
- 'height' : 400,
- 'overflow' : 'hidden',
- 'position' : 'absolute',
- 'top' : 0,
- 'left' : 0,
- 'width' : 600
+ height : 400,
+ overflow : 'hidden',
+ position : 'absolute',
+ top : 0,
+ left : 0,
+ width : 600
})
.appendTo('body')
View
8 js/transition.js
@@ -17,10 +17,10 @@
var el = document.createElement('bootstrap')
var transEndEventNames = {
- 'WebkitTransition' : 'webkitTransitionEnd',
- 'MozTransition' : 'transitionend',
- 'OTransition' : 'oTransitionEnd otransitionend',
- 'transition' : 'transitionend'
+ WebkitTransition : 'webkitTransitionEnd',
+ MozTransition : 'transitionend',
+ OTransition : 'oTransitionEnd otransitionend',
+ transition : 'transitionend'
}
for (var name in transEndEventNames) {

0 comments on commit 9d027d2

Please sign in to comment.