Commit 3e02d127 authored by Mark Otto's avatar Mark Otto

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

Editor Config (.editorconfig) Code Guide Update
parents c81f0b5a 1a6dbc37
...@@ -9,4 +9,4 @@ permalink: pretty ...@@ -9,4 +9,4 @@ permalink: pretty
source: ./docs source: ./docs
destination: ./_gh_pages destination: ./_gh_pages
url: http://bootstrap.dev:9001 url: http://bootstrap.dev:9001
server_port: 9001 server_port: 9001
\ No newline at end of file
...@@ -32,4 +32,4 @@ ...@@ -32,4 +32,4 @@
<li><a href="https://github.com/twitter/bootstrap/blob/master/CHANGELOG.md">Changelog</a></li> <li><a href="https://github.com/twitter/bootstrap/blob/master/CHANGELOG.md">Changelog</a></li>
</ul> </ul>
</div> </div>
</footer> </footer>
\ No newline at end of file
...@@ -35,4 +35,4 @@ ...@@ -35,4 +35,4 @@
var s = document.getElementsByTagName('script')[0]; var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(t, s); s.parentNode.insertBefore(t, s);
})(); })();
</script> </script>
\ No newline at end of file
...@@ -14,4 +14,4 @@ ...@@ -14,4 +14,4 @@
{% include footer.html %} {% include footer.html %}
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -103,4 +103,4 @@ examples: ...@@ -103,4 +103,4 @@ examples:
data-toggle="button" data-toggle="button"
data-toggle="buttons-checkbox" data-toggle="buttons-checkbox"
data-toggle="buttons-radio" data-toggle="buttons-radio"
\ No newline at end of file
...@@ -114,4 +114,4 @@ ...@@ -114,4 +114,4 @@
}) })
}(window.jQuery); }(window.jQuery);
\ No newline at end of file
...@@ -96,4 +96,4 @@ ...@@ -96,4 +96,4 @@
$(document).on('click.alert.data-api', dismiss, Alert.prototype.close) $(document).on('click.alert.data-api', dismiss, Alert.prototype.close)
}(window.jQuery); }(window.jQuery);
\ No newline at end of file
...@@ -102,4 +102,4 @@ ...@@ -102,4 +102,4 @@
$btn.button('toggle') $btn.button('toggle')
}) })
}(window.jQuery); }(window.jQuery);
\ No newline at end of file
...@@ -204,4 +204,4 @@ ...@@ -204,4 +204,4 @@
e.preventDefault() e.preventDefault()
}) })
}(window.jQuery); }(window.jQuery);
\ No newline at end of file
...@@ -164,4 +164,4 @@ ...@@ -164,4 +164,4 @@
$(target).collapse(option) $(target).collapse(option)
}) })
}(window.jQuery); }(window.jQuery);
\ No newline at end of file
...@@ -159,4 +159,4 @@ ...@@ -159,4 +159,4 @@
}) })
}) })
}(window.jQuery); }(window.jQuery);
\ No newline at end of file
...@@ -141,4 +141,4 @@ ...@@ -141,4 +141,4 @@
$(this).tab('show') $(this).tab('show')
}) })
}(window.jQuery); }(window.jQuery);
\ No newline at end of file
...@@ -57,4 +57,4 @@ ...@@ -57,4 +57,4 @@
}) })
}(window.jQuery); }(window.jQuery);
\ No newline at end of file
...@@ -2277,4 +2277,4 @@ ...@@ -2277,4 +2277,4 @@
}) })
}(window.jQuery); }(window.jQuery);
\ No newline at end of file
This diff is collapsed.
...@@ -398,4 +398,4 @@ if ( typeof define === "function" && define.amd ) { ...@@ -398,4 +398,4 @@ if ( typeof define === "function" && define.amd ) {
define( "Holder", [], function () { return app; } ); define( "Holder", [], function () { return app; } );
} }
})(Holder, window); })(Holder, window);
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -3,4 +3,4 @@ ...@@ -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); 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 */ /*! 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);
\ No newline at end of file
...@@ -9,4 +9,4 @@ ...@@ -9,4 +9,4 @@
"boss" : true, "boss" : true,
"expr" : true, "expr" : true,
"asi" : true "asi" : true
} }
\ No newline at end of file
...@@ -114,4 +114,4 @@ ...@@ -114,4 +114,4 @@
}) })
}(window.jQuery); }(window.jQuery);
\ No newline at end of file
...@@ -96,4 +96,4 @@ ...@@ -96,4 +96,4 @@
$(document).on('click.alert.data-api', dismiss, Alert.prototype.close) $(document).on('click.alert.data-api', dismiss, Alert.prototype.close)
}(window.jQuery); }(window.jQuery);
\ No newline at end of file
...@@ -102,4 +102,4 @@ ...@@ -102,4 +102,4 @@
$btn.button('toggle') $btn.button('toggle')
}) })
}(window.jQuery); }(window.jQuery);
\ No newline at end of file
...@@ -204,4 +204,4 @@ ...@@ -204,4 +204,4 @@
e.preventDefault() e.preventDefault()
}) })
}(window.jQuery); }(window.jQuery);
\ No newline at end of file
...@@ -164,4 +164,4 @@ ...@@ -164,4 +164,4 @@
$(target).collapse(option) $(target).collapse(option)
}) })
}(window.jQuery); }(window.jQuery);
\ No newline at end of file
...@@ -159,4 +159,4 @@ ...@@ -159,4 +159,4 @@
}) })
}) })
}(window.jQuery); }(window.jQuery);
\ No newline at end of file
...@@ -141,4 +141,4 @@ ...@@ -141,4 +141,4 @@
$(this).tab('show') $(this).tab('show')
}) })
}(window.jQuery); }(window.jQuery);
\ No newline at end of file
...@@ -57,4 +57,4 @@ ...@@ -57,4 +57,4 @@
}) })
}(window.jQuery); }(window.jQuery);
\ No newline at end of file
...@@ -53,4 +53,4 @@ ...@@ -53,4 +53,4 @@
<div id="qunit-fixture"></div> <div id="qunit-fixture"></div>
</div> </div>
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -60,4 +60,4 @@ page.open(phantom.args[0], function(status){ ...@@ -60,4 +60,4 @@ page.open(phantom.args[0], function(status){
phantom.exit((parseInt(failedNum, 10) > 0) ? 1 : 0) phantom.exit((parseInt(failedNum, 10) > 0) ? 1 : 0)
}) })
} }
}) })
\ No newline at end of file
...@@ -11,4 +11,4 @@ var connect = require('connect') ...@@ -11,4 +11,4 @@ var connect = require('connect')
http.createServer(app).listen(3000); http.createServer(app).listen(3000);
fs.writeFileSync(__dirname + '/pid.txt', process.pid, 'utf-8') fs.writeFileSync(__dirname + '/pid.txt', process.pid, 'utf-8')
\ No newline at end of file
...@@ -22,4 +22,4 @@ $(function () { ...@@ -22,4 +22,4 @@ $(function () {
ok(!$affix.hasClass('affix'), 'affix class was not added') ok(!$affix.hasClass('affix'), 'affix class was not added')
}) })
}) })
\ No newline at end of file
...@@ -59,4 +59,4 @@ $(function () { ...@@ -59,4 +59,4 @@ $(function () {
.alert('close') .alert('close')
}) })
}) })
\ No newline at end of file
...@@ -99,4 +99,4 @@ $(function () { ...@@ -99,4 +99,4 @@ $(function () {
ok(btn2.hasClass('active'), 'btn2 has active class') ok(btn2.hasClass('active'), 'btn2 has active class')
}) })
}) })
\ No newline at end of file
...@@ -78,4 +78,4 @@ $(function () { ...@@ -78,4 +78,4 @@ $(function () {
ok($('#myCarousel').data('carousel').options.interval == 1814, "attributes should be read only on intitialization"); ok($('#myCarousel').data('carousel').options.interval == 1814, "attributes should be read only on intitialization");
$('#myCarousel').remove(); $('#myCarousel').remove();
}) })
}) })
\ No newline at end of file
...@@ -91,4 +91,4 @@ $(function () { ...@@ -91,4 +91,4 @@ $(function () {
target.click() target.click()
}) })
}) })
\ No newline at end of file
...@@ -148,4 +148,4 @@ $(function () { ...@@ -148,4 +148,4 @@ $(function () {
$("#qunit-fixture").html("") $("#qunit-fixture").html("")
}) })
}) })
\ No newline at end of file
...@@ -134,4 +134,4 @@ $(function () { ...@@ -134,4 +134,4 @@ $(function () {
}) })
.modal("show") .modal("show")
}) })
}) })
\ No newline at end of file
...@@ -18,4 +18,4 @@ QUnit.done = function (opts) { ...@@ -18,4 +18,4 @@ QUnit.done = function (opts) {
console.log("\n================================================") console.log("\n================================================")
console.log("Tests completed in " + opts.runtime + " milliseconds") console.log("Tests completed in " + opts.runtime + " milliseconds")
console.log(opts.passed + " tests of " + opts.total + " passed, " + opts.failed + " failed.") console.log(opts.passed + " tests of " + opts.total + " passed, " + opts.failed + " failed.")
} }
\ No newline at end of file
...@@ -110,4 +110,4 @@ $(function () { ...@@ -110,4 +110,4 @@ $(function () {
ok(!$._data(popover[0], 'events').mouseover && !$._data(popover[0], 'events').mouseout, 'popover does not have any events') ok(!$._data(popover[0], 'events').mouseover && !$._data(popover[0], 'events').mouseout, 'popover does not have any events')
}) })
}) })
\ No newline at end of file
...@@ -34,4 +34,4 @@ $(function () { ...@@ -34,4 +34,4 @@ $(function () {
ok($topbar.find('.active', true)) ok($topbar.find('.active', true))
}) })
}) })
\ No newline at end of file
...@@ -83,4 +83,4 @@ $(function () { ...@@ -83,4 +83,4 @@ $(function () {
}).tab('show') }).tab('show')
}) })
}) })
\ No newline at end of file
...@@ -10,4 +10,4 @@ $(function () { ...@@ -10,4 +10,4 @@ $(function () {
ok($.support.transition ? $.support.transition.end : true, 'end string is defined') ok($.support.transition ? $.support.transition.end : true, 'end string is defined')
}) })
}) })
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -229,4 +229,4 @@ ...@@ -229,4 +229,4 @@
#qunit-fixture { #qunit-fixture {
display:none; display:none;
} }
\ No newline at end of file
...@@ -1507,4 +1507,4 @@ QUnit.diff = (function() { ...@@ -1507,4 +1507,4 @@ QUnit.diff = (function() {
}; };
})(); })();
})(this); })(this);
\ No newline at end of file
...@@ -30,4 +30,4 @@ button.close { ...@@ -30,4 +30,4 @@ button.close {
background: transparent; background: transparent;
border: 0; border: 0;
-webkit-appearance: none; -webkit-appearance: none;
} }
\ No newline at end of file
...@@ -74,4 +74,4 @@ ...@@ -74,4 +74,4 @@
@media print { @media print {
.visible-print { display: inherit !important; } .visible-print { display: inherit !important; }
.hidden-print { display: none !important; } .hidden-print { display: none !important; }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment