편집을 취소할 수 있습니다. 이 편집을 되돌리려면 아래의 바뀐 내용을 확인한 후 게시해주세요.
최신판 | 당신의 편집 | ||
1번째 줄: | 1번째 줄: | ||
;GitHub CDN 사용하기 | ;GitHub CDN 사용하기 | ||
==문제상황== | ==문제상황== | ||
<source lang='html5'> | |||
< | |||
<link rel="stylesheet" href="//raw.githubusercontent.com/xdan/datetimepicker/master/jquery.datetimepicker.css"> | <link rel="stylesheet" href="//raw.githubusercontent.com/xdan/datetimepicker/master/jquery.datetimepicker.css"> | ||
<script src="//raw.githubusercontent.com/xdan/datetimepicker/master/jquery.datetimepicker.js"></script> | <script src="//raw.githubusercontent.com/xdan/datetimepicker/master/jquery.datetimepicker.js"></script> | ||
</ | </source> | ||
<source lang='text'> | |||
datetimepicker2.php:1 Refused to execute script from 'http://raw.githubusercontent.com/xdan/datetimepicker/master/jquery.datetimepicker.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. | datetimepicker2.php:1 Refused to execute script from 'http://raw.githubusercontent.com/xdan/datetimepicker/master/jquery.datetimepicker.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. | ||
</source> | |||
==해결방법== | ==해결방법== | ||
<source lang='html5'> | |||
<link rel="stylesheet" href="//cdn.rawgit.com/xdan/datetimepicker/master/jquery.datetimepicker.css"> | |||
<script src="//cdn.rawgit.com/xdan/datetimepicker/master/jquery.datetimepicker.js"></script> | |||
</source> | |||
< | |||
<link rel="stylesheet" href=" | |||
<script src="/ | |||
</ | |||
==같이 보기== | ==같이 보기== | ||
*[[JQuery 날짜시간선택기 datetimepicker]] | *[[JQuery 날짜시간선택기 datetimepicker]] | ||
*[[GitHub]] | *[[GitHub]] | ||
*[[CDN]] | *[[CDN]] | ||
[[분류: GitHub]] | [[분류: GitHub]] | ||
[[분류: CDN]] | [[분류: CDN]] |