These are chat archives for UniversalViewer/universalviewer

8th
Sep 2015
Øystein Blixhavn
@blixhavn
Sep 08 2015 10:29
edsilv: Is your extension library incompatible with jquery?
Edward Silverton
@edsilv
Sep 08 2015 12:43

Hi,

jQuery is used throughout the UV. I'm not sure what you mean when you refer to "extension library". UV "extensions" are written to support different forms of media. Here is a turorial regarding custom extension development:

http://universalviewer.gitbooks.io/custom-extensions/content/

You can see for example in uv-seadragon-extension how the UV makes use of jQuery:

https://github.com/UniversalViewer/universalviewer/blob/master/src/extensions/uv-seadragon-extension/Extension.ts#L205

Ed

Øystein Blixhavn
@blixhavn
Sep 08 2015 12:52
Thanks :) I was referring to your repository at https://github.com/edsilv/extensions where you warn about possible conflicts, but I understand that jquery is probably not in the line of fire here
Edward Silverton
@edsilv
Sep 08 2015 12:55

Ah, I see :-)

Yep, this is jQuery compatible (at least to my knowledge).

Øystein Blixhavn
@blixhavn
Sep 08 2015 12:58
While I have you here: I'm looking into how to integrate UV into a quite complex flask application with its own bower ecosystem. Do you see any trouble with this?
Edward Silverton
@edsilv
Sep 08 2015 13:05

It's advisable to keep the UV within its own versioned directory inside your application.

If you run grunt build then grunt dist you'll get a versioned zip in the dist directory.

The Getting Started tutorial shows how to integrate this into a simple web page:

https://github.com/UniversalViewer/universalviewer/wiki/Tutorials

I need to look at making the UV work with bower so you can just use bower install uv - thanks for reminding me :-)

Øystein Blixhavn
@blixhavn
Sep 08 2015 13:06
sweet :) Any ETA on that bower package? :P
Edward Silverton
@edsilv
Sep 08 2015 13:06
it's on the todo list! will try to fit it in asap
Øystein Blixhavn
@blixhavn
Sep 08 2015 13:08
great!