Skip to content
Browse files

add bower info to the download lightbox

  • Loading branch information...
1 parent 9e852c9 commit 9510d8e8d0fb56dee91638cbb4b34520fe3633aa @IgorMinar IgorMinar committed
Showing with 10 additions and 2 deletions.
  1. +1 −1 css/docs.css
  2. +9 −1 index.html
View
2 css/docs.css
@@ -234,7 +234,7 @@ img.cache {
width: 620px;
}
-#extraInfoBranch, #extraInfoBuild, #extraInfoCDN {
+#extraInfoBranch, #extraInfoBuild, #extraInfoCDN, #extraInfoBower {
background-color: #ffffff!important;
padding-left: 5px;
}
View
10 index.html
@@ -907,8 +907,8 @@ <h2 id="downloadLabel">Download AngularJS</h2>
</span>
</span>
-
</dd>
+
<dt>CDN</dt>
<dd>
<span class="input-append">
@@ -916,6 +916,14 @@ <h2 id="downloadLabel">Download AngularJS</h2>
<a id="extraInfoCDN" href="" rel="popover" data-original-title="Why Google CDN?" data-content="While downloading and using the AngularJS source code is great for development, we recommend that you source the script from Google's CDN (Content Delivery Network) in your deployed, customer facing app whenever possible. You get the following advantages for doing so: <ul><li><strong>Better Caching :</strong> If you host AngularJS yourself, your users will have to download the source code atleast once. But if the browser sees that you are referring to Google CDN's version of AngularJS, and your user has visited another app which uses AngularJS, then he can avail the benefits of caching, and thus reduce one download, speeding up his overall experience!</li><li><strong>Decreased Latency :</strong> Google's CDN distributes your static content across the globe, in various diverse, physical locations. It increases the odds that the user gets a version of AngularJS served from a location near him, thus reducing overall latency.</li><li><strong>Increased Parallelism : </strong>Using Google's CDN reduces one request to your domain. Depending on the browser, the number of parallel requests it can make to a domain is restricted (as low as 2 in IE 7). So it can make a gigantic difference in loading times for users of those browsers.</li></ul>"><i class="icon-question-sign"></i></a>
</span>
</dd>
+
+ <dt>Bower</dt>
+ <dd>
+ <span class="input-append">
+ <input class="input-xxlarge" type="text" readonly="readonly" value="bower install angular">
+ <a id="extraInfoBower" href="" rel="popover" data-original-title="What is Bower?" data-content="Bower is a package manager for client-side JavaScript components.<br><br>For more info please see: http://twitter.github.com/bower/"><i class="icon-question-sign"></i></a>
+ </span>
+ </dd>
</dl>
</div>

0 comments on commit 9510d8e

Please sign in to comment.
Something went wrong with that request. Please try again.