Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
Switched RawGit for GitCDN
Browse files Browse the repository at this point in the history
Switch to GitCDN, which lets you get the latest master branch, without losing the CDN and without it's service getting harmed.

Closes #3262.
  • Loading branch information
schme16 authored and ThomasBurleson committed Jun 18, 2015
1 parent 9fb0b35 commit 6e9abdd
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,15 +136,15 @@ when using online tools such as [CodePen](http://codepen.io/), [Plunkr](http://p

> Note that the above sample references the 0.8.3 CDN release. Your version will change based on the latest stable release version.
Developers seeking the latest, most-current build versions can use [RawGit.com](//rawgit.com) to
Developers seeking the latest, most-current build versions can use [GitCDN.xyz](//gitcdn.xyz) to
pull directly from the distribution GitHub
[Bower-Material](https://github.com/angular/bower-material) repository:

```html
<head>

<!-- Angular Material CSS using RawGit to load directly from `bower-material/master` -->
<link rel="stylesheet" href="https://rawgit.com/angular/bower-material/master/angular-material.css">
<!-- Angular Material CSS using GitCDN to load directly from `bower-material/master` -->
<link rel="stylesheet" href="https://gitcdn.xyz/repo/angular/bower-material/master/angular-material.css">

</head>
<body>
Expand All @@ -154,11 +154,9 @@ pull directly from the distribution GitHub
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular-animate.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular-aria.js"></script>

<!-- Angular Material Javascript using RawGit to load directly from `bower-material/master` -->
<script src="https://rawgit.com/angular/bower-material/master/angular-material.js"></script>
<!-- Angular Material Javascript using GitCDN to load directly from `bower-material/master` -->
<script src="https://gitcdn.xyz/repo/angular/bower-material/master/angular-material.js"></script>

</body>
```

> Please note that the above RawGit access is intended **ONLY** for development purposes or sharing
low-traffic, temporary examples or demos with small numbers of people.

0 comments on commit 6e9abdd

Please sign in to comment.