},
grunt: {
options: {
- 'requireCamelCaseOrUpperCaseIdentifiers': null,
- 'requireParenthesesAroundIIFE': true
+ requireCamelCaseOrUpperCaseIdentifiers: null,
+ requireParenthesesAroundIIFE: true
},
src: '<%= jshint.grunt.src %>'
},
],
docs: {
options: {
- 'ids': false,
+ ids: false,
'overqualified-elements': false
},
src: 'docs/assets/css/src/docs.css'
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) {
function createGist(configJson) {
var data = {
- 'description': 'Bootstrap Customizer Config',
+ description: 'Bootstrap Customizer Config',
'public': true,
- 'files': {
+ files: {
'config.json': {
- 'content': configJson
+ content: configJson
}
}
}
"disallowLeftStickedOperators": ["?", "+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"disallowMixedSpacesAndTabs": true,
"disallowMultipleLineStrings": true,
+ "disallowQuotedKeysInObjects": "allButReserved",
"disallowRightStickedOperators": ["?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~"],
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
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')
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) {