0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Commit Graph

19 Commits

Author SHA1 Message Date
XhmikosR
3de4f23ea2 Minify docs-assets too. 2013-12-06 11:25:29 +02:00
Ross Allen
18318b81b0 Add async attribute to Twitter widget script 2013-11-05 07:39:50 -10:00
Ross Allen
68fc2f2515 Add protocol for jQuery to work when accessed as file
URLs without protocols get "file:" prepended when their document is
loaded as a file. Make sure the docs can always be opened by
specifying a protocol.
2013-11-05 07:23:58 -10:00
Ross Allen
4f5a865684 Load Twitter widget async, prevent SPOF
Twitter's widget library[1] provides an async snippet to inject the
script tag later. Since widgets.js came before the local JS, if
twitter.com took long to respond it would prevent subsequent
synchronous script tags.

[1] https://dev.twitter.com/docs/tfw-javascript
2013-11-04 22:17:05 -10:00
Ross Allen
38d6894910 Serve jQuery from cookie-free Google APIs
jQuery.com uses Google Analytics and so sets a cookie when you visit
the site. When you request jquery.js from its CDN, code.jquery.com,
you take a hit from sending your previous GA cookie in the request.

Google Hosted Libraries[1] and googleapis.com never set cookies.

[1] https://developers.google.com/speed/libraries/devguide
2013-11-04 22:11:57 -10:00
Chris Rebert
4b175d908c use https:// for CDN links
- works when viewing page via file://
- sets a good example security-wise
2013-10-10 01:51:18 -07:00
Chris Rebert
5e652332d1 use CDN for jQuery instead of vendoring it; fixes part of #10989 2013-10-09 16:36:15 -07:00
Chris Rebert
8aa5181126 move /assets/ to /docs-assets/ ; fixes #10715 2013-09-23 13:02:26 -07:00
fat
b6ddaf63d6 fix customizer 2013-08-19 14:16:52 -07:00
fat
57f5872467 bunch of updates to customizer 2013-08-18 00:28:52 -07:00
fat
29bf254fc3 move customizer onto gists 2013-08-17 18:41:36 -07:00
fat
8bdffecf8f rebuild + first bit of customizer urls 2013-08-11 18:42:13 -07:00
vsn4ik
efc7514f9f Remove type attribute of tag "script".
In HTML5 in tag script, the type attribute is no longer required. The default value is "text/javascript".
http://www.w3.org/TR/html5/scripting-1.html#attr-script-type
2013-08-05 05:40:25 +04:00
Mark Otto
80123fc039 mo links, fix ads and analytics in gh pages 2013-07-27 00:35:26 -07:00
Mark Otto
94df8090a7 fixes for hella broken links on account of jekyll and twbs.github.com links 2013-07-27 00:28:23 -07:00
Mark Otto
0f2b22a210 herpy derpy shit for urls 2013-07-27 00:18:12 -07:00
Mark Otto
f25d8c0080 hacky way of not showing ads or analytics in local dev 2013-07-19 14:08:16 -07:00
Mark Otto
7bb8817947 finish flattening repo structure; add dist folder of compiled css/js 2013-07-18 18:14:49 -07:00
Mark Otto
a8005b3d0b flatten docs dir back into root 2013-07-18 17:41:30 -07:00