javascript - How to use the Glimpse client viewer but NOT the server implementation -
To render some JSON I would like to use in a web application I use the thumbnail server implementation on the site in question I'm unable to However, I can provide my own IHttpHandler using the preview JSON format.
Has anyone posted this details on how it has done and how it is posted? If not, can anyone tell me the steps needed to raise it and walk? Alternatively, are there any other similar framework structures?
Note: I am pinging around and watching client js etc. I will continue the source hacking route, but hoping someone has some shortcuts for me! As Nick said that I would be interested in trying to do it. But in the mean time, the best place to look at is If you look at this page, you will see that we have created a protocol tester. It allows you to put in any JSON and view the output. If you want to do it yourself, take a look and you will see how we do it without full glimpse. You will see that we are doing something like the following: I know it is not as good as possible, but it was not made in this mind with this thing. We are currently working on refactoring client code to make it better.
var data = {test: 'test', hello: 'hello'}; Var html = $ glimpse.glimpseProcessor.build (data, 0, false) $ ('.panel'). Html (html);
Comments
Post a Comment