After some time ago Google
has announced that Google Code will be disabled, and they recommend to use one
of the best hosting service provider that GitHub to store external file.
How
to Save Files JavaScript in Github
Please
you follow the tutorial below:
1. Please list and Create an
account in Github.com
2. Complete list please
login with your Github account.
3. Select the "New Repository"
on the Tab Menu section on the website, please look and see pictures and you
choose "New
Repository".
3. You will then be posted on the project, here you will create a folder where the files belong to you (you already uploaded). Follow the steps as shown below:
4. Then click the Plus (Create A New File Here) as shown below:
5. If so, please enter your
upload JavaScript you want to save here. Give the name of the project is up to
you and must use an extension in accordance with the type of file you want to
upload, for example, if you insert JavaScript then the file name must be
file.js or file.css
6. Then click Commit to save
the new file that you created the project.
7. Next you will go back to
the page previously, right click on the file and copy the link address.
8. Go to page Rawgit.com Paste link (your project from github) look at the
example in the figure below, and copy the link in the box as shown below.
Select only the links that I put a red box as shown below.
So please use the links that
you get, for example in the blog template, widgets and so forth. Example:
<script src = 'https:
//cdn.rawgit.com/gowidget051/gowidget/master/examplecode.js'>
</ script>
</ script>
So how to upload files CSS
to Github, may be useful