1.First login to your google account and go to Google Code Hosting.
You can see screen look like this.

2.Click on "Create a new project".Next screen will look like this:

3.Fill above form with your information and click on "Create project".Next screen will look like this:

4.Click on "Downloads" tab.Now click on "New download" tab.

6.Fill up the needed information. Browse for your JavaScript(.js) file and attach it. Now click on "Submit file".

7.Now your java script file will upload to google.After that you can see the screen like this:

8.If you want to get direct link of your java script file,click on file name and select "Copy link address".

9.Now you can use it as external java script file.Look at the example below:
<script src='http://pbtemplates.googlecode.com/files/jquery.min.js' type='text/javascript'/>
Post a Comment