payload: {"action":"closed","issue":{"url":"https://api.github.com/repos/schibsted/jslt/issues/33","repository_url":"https://api.github.com/repos/schibsted/jslt","labels_url":"https://api.github.com/repos/schibsted/jslt/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/schibsted/jslt/issues/33/comments","events_url":"https://api.github.com/repos/schibsted/jslt/issues/33/events","html_url":"https://github.com/schibsted/jslt/issues/33","id":371506840,"node_id":"MDU6SXNzdWUzNzE1MDY4NDA=","number":33,"title":"Can I import jslt from another jslt ?","user":{"login":"ca7erina","id":3540806,"node_id":"MDQ6VXNlcjM1NDA4MDY=","avatar_url":"https://avatars1.githubusercontent.com/u/3540806?v=4","gravatar_id":"","url":"https://api.github.com/users/ca7erina","html_url":"https://github.com/ca7erina","followers_url":"https://api.github.com/users/ca7erina/followers","following_url":"https://api.github.com/users/ca7erina/following{/other_user}","gists_url":"https://api.github.com/users/ca7erina/gists{/gist_id}","starred_url":"https://api.github.com/users/ca7erina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ca7erina/subscriptions","organizations_url":"https://api.github.com/users/ca7erina/orgs","repos_url":"https://api.github.com/users/ca7erina/repos","events_url":"https://api.github.com/users/ca7erina/events{/privacy}","received_events_url":"https://api.github.com/users/ca7erina/received_events","type":"User","site_admin":false},"labels":[{"id":1145430842,"node_id":"MDU6TGFiZWwxMTQ1NDMwODQy","url":"https://api.github.com/repos/schibsted/jslt/labels/support","name":"support","color":"e99695","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-18T12:30:17Z","updated_at":"2019-02-16T09:56:02Z","closed_at":"2019-02-16T09:56:02Z","author_association":"NONE","body":"Im thinking that create a jslt lib has many def methods, and import it from any other jslt?\r\n\r\n1. myLib\r\n```\r\ndef largestValue(arr)\r\n  if (not($arr))\r\n    0\r\n  else\r\n    let temp = largestValue($arr[1 : ])\r\n    if ($temp.value <= $arr[0].value)\r\n      $arr[0]\r\n    else\r\n      $temp\r\n\r\ndef smallestValue(arr)\r\n  if (not($arr))\r\n   { \"value\":99999999}\r\n  else\r\n    let temp = smallestValue($arr[1 : ])\r\n    if ($temp.value > $arr[0].value)\r\n      $arr[0]\r\n    else\r\n      $temp\r\n\r\n```\r\n\r\n2. Any jslt that uses it \r\n```\r\nimport \"http://xxx/methods\" as myLib\r\n...\r\nmyLib:smallestValue([...])\r\n```\r\n\r\nIs it possible to do that ?"}}
other: {"actor":{"display_login":"larsga"}}