material icon indicating copy to clipboard operation
material copied to clipboard

demos - 'Edit on CodePen' feature doesn't work for v1.0.0

Open sazonenka opened this issue 10 years ago • 5 comments

https://cdn.gitcdn.xyz/cdn/angular/bower-material/v1.0.0/angular-material.js returns 'Not Found'. This breaks CodePen snippets for v1.0.0 demos.

sazonenka avatar Dec 16 '15 01:12 sazonenka

Edit: The GitCDN link now seems to work, so everything below might be moot.


Which codepen or sample did you get that from?

I think the codepen samples are (supposed to) use files from ajax.googleapis.com.

Here's an example This is linked to from Getting Started (Build a Material Application (blank shell -> Edit on Codepen) and it uses

<script src="http://ajax.googleapis.com/ajax/libs/angular_material/1.0.0/angular-material.min.js"></script>

Another example This is one of the templates found from the Codepen Community and it uses (HTML > Settings > JavaScript)

https://ajax.googleapis.com/ajax/libs/angular_material/1.0.0/angular-material.min.js

FrancescoRizzi avatar Dec 16 '15 01:12 FrancescoRizzi

@FrancescoRizzi The gitcdn link still doesn't work for me. Response has 200 status code, but has only Not Found string instead of JS code.

These are the steps how I get to broken CodePen samples:

  1. Go to https://material.angularjs.org/latest/demo/input
  2. Click on Edit on CodePen icon that is located on the right side of Basic Usage toolbar

sazonenka avatar Dec 16 '15 05:12 sazonenka

Working now.

ThomasBurleson avatar Dec 16 '15 12:12 ThomasBurleson

@ThomasBurleson Can you take a look at #6343 it's partially broken still

epelc avatar Dec 16 '15 15:12 epelc

Doesn't work for me.

CodePen samples from latest demos still use broken gitcdn link

However, CodePen samples from HEAD demos seem to work because they are using different library link

sazonenka avatar Dec 16 '15 22:12 sazonenka