Béres Gábor wrote:
> Hello!
>
> I have a question about the timiline.
>
> I want to use the package not as web api, but completly offline.
> I copied the whole thing to my js folder, and included like this:
>
> <script src="#springUrl('/js/timeline/src/webapp/api/timeline-api.js')"
> type="text/javascript"></script>
>
> My problem is that every time i hit the page, it makes call to
> static.simile.mit.edu for /ajax/api-2.0/simile-ajax-bundle.js.
>
> It is not acceptable for me. Can i fix this?
>
I presume you checked out the code from /trunk. That's version 2.0, and
it does reference the SimileAjax library. Look inside timeline-api.js.
You should find this URL
http://static.simile.mit.edu/ajax/api-2.0/simile-ajax-api.js
You need to replace it with
#springUrl('/js/timeline/src/ajax/api/simile-ajax-api.js')
David
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general