In your HTML:

<script src="http://github.com/login/repo/raw/master/path/to/file.js";>

Chris

On Tue, Feb 23, 2010 at 12:59 AM, jujule <[email protected]> wrote:
> Hi
>
> i have some public javascript libs on github and id like to use gh-
> pages to host the demos.
>
> I know how to create the html and push, but how to import some files
> from the master branch ? Actually the gh-pages branch as only an
> index.html
>
> I want my demo to always use the last version of the code
>
> thanks for ideas
>
>
> Julien.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "GitHub" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/github?hl=en.
>
>



-- 
Chris Wanstrath
http://github.com/defunkt

-- 
You received this message because you are subscribed to the Google Groups 
"GitHub" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/github?hl=en.

Reply via email to