X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=blobdiff_plain;f=examples%2Fhtdocs%2Fmkws-widget-wimp.js;fp=examples%2Fhtdocs%2Fmkws-widget-wimp.js;h=0000000000000000000000000000000000000000;hp=89faa3df7a6028585bc06b3675b4fb3eae9ee665;hb=9b8279ad5b907e03ad4b38ec88b4756a79911aa8;hpb=e1244766fb767d08b59e71f8af82a0eeceb6c976 diff --git a/examples/htdocs/mkws-widget-wimp.js b/examples/htdocs/mkws-widget-wimp.js deleted file mode 100644 index 89faa3d..0000000 --- a/examples/htdocs/mkws-widget-wimp.js +++ /dev/null @@ -1,36 +0,0 @@ -var mkws_config = { - service_proxy_auth: "//sp-mkws.indexdata.com/service-proxy/?command=auth&action=login&username=wimp&password=wimp6363" -}; - -mkws.registerWidgetType('wimp', function() { - if (!this.config.perpage) this.config.perpage = 5; - if (!this.config.sort) this.config.sort = "position"; - this.team.registerTemplate('wimp', '\ -

Results from Wimp

\ -\ -'); - - var that = this; - var template = that.team.loadTemplate(that.config.template || "wimp"); - this.team.queue("records").subscribe(function(data) { - that.node.html(template(data)); - }); - that.autosearch(); -}); -