{"action":"opened","issue":{"url":"https://api.github.com/repos/magnumjs/praetor.js/issues/4","labels_url":"https://api.github.com/repos/magnumjs/praetor.js/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/magnumjs/praetor.js/issues/4/comments","events_url":"https://api.github.com/repos/magnumjs/praetor.js/issues/4/events","html_url":"https://github.com/magnumjs/praetor.js/issues/4","id":63232044,"number":4,"title":"Core: how to load plugin code to a proc JS code","user":{"login":"magnumjs","id":5196767,"avatar_url":"https://avatars.githubusercontent.com/u/5196767?v=3","gravatar_id":"","url":"https://api.github.com/users/magnumjs","html_url":"https://github.com/magnumjs","followers_url":"https://api.github.com/users/magnumjs/followers","following_url":"https://api.github.com/users/magnumjs/following{/other_user}","gists_url":"https://api.github.com/users/magnumjs/gists{/gist_id}","starred_url":"https://api.github.com/users/magnumjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magnumjs/subscriptions","organizations_url":"https://api.github.com/users/magnumjs/orgs","repos_url":"https://api.github.com/users/magnumjs/repos","events_url":"https://api.github.com/users/magnumjs/events{/privacy}","received_events_url":"https://api.github.com/users/magnumjs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/magnumjs/praetor.js/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-20T13:51:36Z","updated_at":"2015-03-20T13:51:36Z","closed_at":null,"body":"Show example by passing in via the params for the json2html library\r\n\r\njson2html.transform(data,transform);\r\n\r\np.proc('testProc', 'storeName','querynames', 'return this.params.json2html(this.results[0], this.params.transform')\r\n\r\np.proc( 'testProc' , {'json2html' : json2html, 'transform' : rules} )\r\n\r\nAdd test to specs"}}