1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 21:49:09 +01:00

Merge pull request #7664 from ntwb/editorconfig-3.0.0-wip

Editor Config (.editorconfig) Code Guide Update
This commit is contained in:
Mark Otto 2013-04-23 08:58:23 -07:00
commit 3e02d127b3
47 changed files with 47 additions and 47 deletions

View File

@ -9,4 +9,4 @@ permalink: pretty
source: ./docs
destination: ./_gh_pages
url: http://bootstrap.dev:9001
server_port: 9001
server_port: 9001

View File

@ -32,4 +32,4 @@
<li><a href="https://github.com/twitter/bootstrap/blob/master/CHANGELOG.md">Changelog</a></li>
</ul>
</div>
</footer>
</footer>

View File

@ -35,4 +35,4 @@
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(t, s);
})();
</script>
</script>

View File

@ -14,4 +14,4 @@
{% include footer.html %}
</body>
</html>
</html>

View File

@ -103,4 +103,4 @@ examples:
data-toggle="button"
data-toggle="buttons-checkbox"
data-toggle="buttons-radio"
data-toggle="buttons-radio"

View File

@ -114,4 +114,4 @@
})
}(window.jQuery);
}(window.jQuery);

View File

@ -96,4 +96,4 @@
$(document).on('click.alert.data-api', dismiss, Alert.prototype.close)
}(window.jQuery);
}(window.jQuery);

View File

@ -102,4 +102,4 @@
$btn.button('toggle')
})
}(window.jQuery);
}(window.jQuery);

View File

@ -204,4 +204,4 @@
e.preventDefault()
})
}(window.jQuery);
}(window.jQuery);

View File

@ -164,4 +164,4 @@
$(target).collapse(option)
})
}(window.jQuery);
}(window.jQuery);

View File

@ -159,4 +159,4 @@
})
})
}(window.jQuery);
}(window.jQuery);

View File

@ -141,4 +141,4 @@
$(this).tab('show')
})
}(window.jQuery);
}(window.jQuery);

View File

@ -57,4 +57,4 @@
})
}(window.jQuery);
}(window.jQuery);

View File

@ -2277,4 +2277,4 @@
})
}(window.jQuery);
}(window.jQuery);

File diff suppressed because one or more lines are too long

View File

@ -398,4 +398,4 @@ if ( typeof define === "function" && define.amd ) {
define( "Holder", [], function () { return app; } );
}
})(Holder, window);
})(Holder, window);

File diff suppressed because one or more lines are too long

View File

@ -3,4 +3,4 @@
window.matchMedia=window.matchMedia||function(a){"use strict";var c,d=a.documentElement,e=d.firstElementChild||d.firstChild,f=a.createElement("body"),g=a.createElement("div");return g.id="mq-test-1",g.style.cssText="position:absolute;top:-100em",f.style.background="none",f.appendChild(g),function(a){return g.innerHTML='&shy;<style media="'+a+'"> #mq-test-1 { width: 42px; }</style>',d.insertBefore(f,e),c=42===g.offsetWidth,d.removeChild(f),{matches:c,media:a}}}(document);
/*! Respond.js v1.1.0: min/max-width media query polyfill. (c) Scott Jehl. MIT/GPLv2 Lic. j.mp/respondjs */
(function(a){"use strict";function x(){u(!0)}var b={};a.respond=b,b.update=function(){},b.mediaQueriesSupported=a.matchMedia&&a.matchMedia("only all").matches,b.mediaQueriesSupported;var q,r,t,c=a.document,d=c.documentElement,e=[],f=[],g=[],h={},i=30,j=c.getElementsByTagName("head")[0]||d,k=c.getElementsByTagName("base")[0],l=j.getElementsByTagName("link"),m=[],n=function(){for(var b=0;l.length>b;b++){var c=l[b],d=c.href,e=c.media,f=c.rel&&"stylesheet"===c.rel.toLowerCase();d&&f&&!h[d]&&(c.styleSheet&&c.styleSheet.rawCssText?(p(c.styleSheet.rawCssText,d,e),h[d]=!0):(!/^([a-zA-Z:]*\/\/)/.test(d)&&!k||d.replace(RegExp.$1,"").split("/")[0]===a.location.host)&&m.push({href:d,media:e}))}o()},o=function(){if(m.length){var a=m.shift();v(a.href,function(b){p(b,a.href,a.media),h[a.href]=!0,setTimeout(function(){o()},0)})}},p=function(a,b,c){var d=a.match(/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi),g=d&&d.length||0;b=b.substring(0,b.lastIndexOf("/"));var h=function(a){return a.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+b+"$2$3")},i=!g&&c;b.length&&(b+="/"),i&&(g=1);for(var j=0;g>j;j++){var k,l,m,n;i?(k=c,f.push(h(a))):(k=d[j].match(/@media *([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1,f.push(RegExp.$2&&h(RegExp.$2))),m=k.split(","),n=m.length;for(var o=0;n>o;o++)l=m[o],e.push({media:l.split("(")[0].match(/(only\s+)?([a-zA-Z]+)\s?/)&&RegExp.$2||"all",rules:f.length-1,hasquery:l.indexOf("(")>-1,minw:l.match(/\(min\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:l.match(/\(max\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}u()},s=function(){var a,b=c.createElement("div"),e=c.body,f=!1;return b.style.cssText="position:absolute;font-size:1em;width:1em",e||(e=f=c.createElement("body"),e.style.background="none"),e.appendChild(b),d.insertBefore(e,d.firstChild),a=b.offsetWidth,f?d.removeChild(e):e.removeChild(b),a=t=parseFloat(a)},u=function(a){var b="clientWidth",h=d[b],k="CSS1Compat"===c.compatMode&&h||c.body[b]||h,m={},n=l[l.length-1],o=(new Date).getTime();if(a&&q&&i>o-q)return clearTimeout(r),r=setTimeout(u,i),void 0;q=o;for(var p in e)if(e.hasOwnProperty(p)){var v=e[p],w=v.minw,x=v.maxw,y=null===w,z=null===x,A="em";w&&(w=parseFloat(w)*(w.indexOf(A)>-1?t||s():1)),x&&(x=parseFloat(x)*(x.indexOf(A)>-1?t||s():1)),v.hasquery&&(y&&z||!(y||k>=w)||!(z||x>=k))||(m[v.media]||(m[v.media]=[]),m[v.media].push(f[v.rules]))}for(var B in g)g.hasOwnProperty(B)&&g[B]&&g[B].parentNode===j&&j.removeChild(g[B]);for(var C in m)if(m.hasOwnProperty(C)){var D=c.createElement("style"),E=m[C].join("\n");D.type="text/css",D.media=C,j.insertBefore(D,n.nextSibling),D.styleSheet?D.styleSheet.cssText=E:D.appendChild(c.createTextNode(E)),g.push(D)}},v=function(a,b){var c=w();c&&(c.open("GET",a,!0),c.onreadystatechange=function(){4!==c.readyState||200!==c.status&&304!==c.status||b(c.responseText)},4!==c.readyState&&c.send(null))},w=function(){var b=!1;try{b=new a.XMLHttpRequest}catch(c){b=new a.ActiveXObject("Microsoft.XMLHTTP")}return function(){return b}}();n(),b.update=n,a.addEventListener?a.addEventListener("resize",x,!1):a.attachEvent&&a.attachEvent("onresize",x)})(this);
(function(a){"use strict";function x(){u(!0)}var b={};a.respond=b,b.update=function(){},b.mediaQueriesSupported=a.matchMedia&&a.matchMedia("only all").matches,b.mediaQueriesSupported;var q,r,t,c=a.document,d=c.documentElement,e=[],f=[],g=[],h={},i=30,j=c.getElementsByTagName("head")[0]||d,k=c.getElementsByTagName("base")[0],l=j.getElementsByTagName("link"),m=[],n=function(){for(var b=0;l.length>b;b++){var c=l[b],d=c.href,e=c.media,f=c.rel&&"stylesheet"===c.rel.toLowerCase();d&&f&&!h[d]&&(c.styleSheet&&c.styleSheet.rawCssText?(p(c.styleSheet.rawCssText,d,e),h[d]=!0):(!/^([a-zA-Z:]*\/\/)/.test(d)&&!k||d.replace(RegExp.$1,"").split("/")[0]===a.location.host)&&m.push({href:d,media:e}))}o()},o=function(){if(m.length){var a=m.shift();v(a.href,function(b){p(b,a.href,a.media),h[a.href]=!0,setTimeout(function(){o()},0)})}},p=function(a,b,c){var d=a.match(/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi),g=d&&d.length||0;b=b.substring(0,b.lastIndexOf("/"));var h=function(a){return a.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+b+"$2$3")},i=!g&&c;b.length&&(b+="/"),i&&(g=1);for(var j=0;g>j;j++){var k,l,m,n;i?(k=c,f.push(h(a))):(k=d[j].match(/@media *([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1,f.push(RegExp.$2&&h(RegExp.$2))),m=k.split(","),n=m.length;for(var o=0;n>o;o++)l=m[o],e.push({media:l.split("(")[0].match(/(only\s+)?([a-zA-Z]+)\s?/)&&RegExp.$2||"all",rules:f.length-1,hasquery:l.indexOf("(")>-1,minw:l.match(/\(min\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:l.match(/\(max\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}u()},s=function(){var a,b=c.createElement("div"),e=c.body,f=!1;return b.style.cssText="position:absolute;font-size:1em;width:1em",e||(e=f=c.createElement("body"),e.style.background="none"),e.appendChild(b),d.insertBefore(e,d.firstChild),a=b.offsetWidth,f?d.removeChild(e):e.removeChild(b),a=t=parseFloat(a)},u=function(a){var b="clientWidth",h=d[b],k="CSS1Compat"===c.compatMode&&h||c.body[b]||h,m={},n=l[l.length-1],o=(new Date).getTime();if(a&&q&&i>o-q)return clearTimeout(r),r=setTimeout(u,i),void 0;q=o;for(var p in e)if(e.hasOwnProperty(p)){var v=e[p],w=v.minw,x=v.maxw,y=null===w,z=null===x,A="em";w&&(w=parseFloat(w)*(w.indexOf(A)>-1?t||s():1)),x&&(x=parseFloat(x)*(x.indexOf(A)>-1?t||s():1)),v.hasquery&&(y&&z||!(y||k>=w)||!(z||x>=k))||(m[v.media]||(m[v.media]=[]),m[v.media].push(f[v.rules]))}for(var B in g)g.hasOwnProperty(B)&&g[B]&&g[B].parentNode===j&&j.removeChild(g[B]);for(var C in m)if(m.hasOwnProperty(C)){var D=c.createElement("style"),E=m[C].join("\n");D.type="text/css",D.media=C,j.insertBefore(D,n.nextSibling),D.styleSheet?D.styleSheet.cssText=E:D.appendChild(c.createTextNode(E)),g.push(D)}},v=function(a,b){var c=w();c&&(c.open("GET",a,!0),c.onreadystatechange=function(){4!==c.readyState||200!==c.status&&304!==c.status||b(c.responseText)},4!==c.readyState&&c.send(null))},w=function(){var b=!1;try{b=new a.XMLHttpRequest}catch(c){b=new a.ActiveXObject("Microsoft.XMLHTTP")}return function(){return b}}();n(),b.update=n,a.addEventListener?a.addEventListener("resize",x,!1):a.attachEvent&&a.attachEvent("onresize",x)})(this);

View File

@ -9,4 +9,4 @@
"boss" : true,
"expr" : true,
"asi" : true
}
}

View File

@ -114,4 +114,4 @@
})
}(window.jQuery);
}(window.jQuery);

View File

@ -96,4 +96,4 @@
$(document).on('click.alert.data-api', dismiss, Alert.prototype.close)
}(window.jQuery);
}(window.jQuery);

View File

@ -102,4 +102,4 @@
$btn.button('toggle')
})
}(window.jQuery);
}(window.jQuery);

View File

@ -204,4 +204,4 @@
e.preventDefault()
})
}(window.jQuery);
}(window.jQuery);

View File

@ -164,4 +164,4 @@
$(target).collapse(option)
})
}(window.jQuery);
}(window.jQuery);

View File

@ -159,4 +159,4 @@
})
})
}(window.jQuery);
}(window.jQuery);

2
js/bootstrap-tab.js vendored
View File

@ -141,4 +141,4 @@
$(this).tab('show')
})
}(window.jQuery);
}(window.jQuery);

View File

@ -57,4 +57,4 @@
})
}(window.jQuery);
}(window.jQuery);

View File

@ -53,4 +53,4 @@
<div id="qunit-fixture"></div>
</div>
</body>
</html>
</html>

View File

@ -60,4 +60,4 @@ page.open(phantom.args[0], function(status){
phantom.exit((parseInt(failedNum, 10) > 0) ? 1 : 0)
})
}
})
})

View File

@ -11,4 +11,4 @@ var connect = require('connect')
http.createServer(app).listen(3000);
fs.writeFileSync(__dirname + '/pid.txt', process.pid, 'utf-8')
fs.writeFileSync(__dirname + '/pid.txt', process.pid, 'utf-8')

View File

@ -22,4 +22,4 @@ $(function () {
ok(!$affix.hasClass('affix'), 'affix class was not added')
})
})
})

View File

@ -59,4 +59,4 @@ $(function () {
.alert('close')
})
})
})

View File

@ -99,4 +99,4 @@ $(function () {
ok(btn2.hasClass('active'), 'btn2 has active class')
})
})
})

View File

@ -78,4 +78,4 @@ $(function () {
ok($('#myCarousel').data('carousel').options.interval == 1814, "attributes should be read only on intitialization");
$('#myCarousel').remove();
})
})
})

View File

@ -91,4 +91,4 @@ $(function () {
target.click()
})
})
})

View File

@ -148,4 +148,4 @@ $(function () {
$("#qunit-fixture").html("")
})
})
})

View File

@ -134,4 +134,4 @@ $(function () {
})
.modal("show")
})
})
})

View File

@ -18,4 +18,4 @@ QUnit.done = function (opts) {
console.log("\n================================================")
console.log("Tests completed in " + opts.runtime + " milliseconds")
console.log(opts.passed + " tests of " + opts.total + " passed, " + opts.failed + " failed.")
}
}

View File

@ -110,4 +110,4 @@ $(function () {
ok(!$._data(popover[0], 'events').mouseover && !$._data(popover[0], 'events').mouseout, 'popover does not have any events')
})
})
})

View File

@ -34,4 +34,4 @@ $(function () {
ok($topbar.find('.active', true))
})
})
})

View File

@ -83,4 +83,4 @@ $(function () {
}).tab('show')
})
})
})

View File

@ -10,4 +10,4 @@ $(function () {
ok($.support.transition ? $.support.transition.end : true, 'end string is defined')
})
})
})

File diff suppressed because one or more lines are too long

View File

@ -229,4 +229,4 @@
#qunit-fixture {
display:none;
}
}

View File

@ -1507,4 +1507,4 @@ QUnit.diff = (function() {
};
})();
})(this);
})(this);

View File

@ -30,4 +30,4 @@ button.close {
background: transparent;
border: 0;
-webkit-appearance: none;
}
}

View File

@ -74,4 +74,4 @@
@media print {
.visible-print { display: inherit !important; }
.hidden-print { display: none !important; }
}
}