couchdb - How to import a Javascript library in a List Functions -


Whether to import "external" javascript libraries for use in list function in Cochbi The way? I am trying to create a list function which will do an XSL Transformation and I was hoping to use the Sarsa library.

Edit : Please see XSL Transformation in Sochdi.

You must add the source files of the library to your design document (assuming this is a JS library) How do that depend on many factors, you did not specify how you are deploying in your CouchDb example, so I have just thought about it yet.

The thing is that you can share the code with list functions (between some other people like the map function) If you load the source file into a string stored in your design document, you can use the library exported through the requirement of the ("lib / sarissa") for example.

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -