{"action":"opened","issue":{"url":"https://api.github.com/repos/ocsigen/js_of_ocaml/issues/292","labels_url":"https://api.github.com/repos/ocsigen/js_of_ocaml/issues/292/labels{/name}","comments_url":"https://api.github.com/repos/ocsigen/js_of_ocaml/issues/292/comments","events_url":"https://api.github.com/repos/ocsigen/js_of_ocaml/issues/292/events","html_url":"https://github.com/ocsigen/js_of_ocaml/issues/292","id":73066087,"number":292,"title":"File.blob api","user":{"login":"Chimrod","id":555440,"avatar_url":"https://avatars.githubusercontent.com/u/555440?v=3","gravatar_id":"","url":"https://api.github.com/users/Chimrod","html_url":"https://github.com/Chimrod","followers_url":"https://api.github.com/users/Chimrod/followers","following_url":"https://api.github.com/users/Chimrod/following{/other_user}","gists_url":"https://api.github.com/users/Chimrod/gists{/gist_id}","starred_url":"https://api.github.com/users/Chimrod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chimrod/subscriptions","organizations_url":"https://api.github.com/users/Chimrod/orgs","repos_url":"https://api.github.com/users/Chimrod/repos","events_url":"https://api.github.com/users/Chimrod/events{/privacy}","received_events_url":"https://api.github.com/users/Chimrod/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-04T16:30:58Z","updated_at":"2015-05-04T16:30:58Z","closed_at":null,"body":"Hello,\r\n\r\nThe signature for the method slicing in File.blob is :\r\n\r\n```ocaml\r\nmethod slice : int -> int -> blob Js.meth\r\n```\r\n\r\nwhere any other methods in the File API expect \r\n```ocaml\r\n #File.blob Js.t\r\n```\r\nblocking the following code  :\r\n```ocaml\r\n  let _ = File.readAsBinaryString(file##slice(1, 15))\r\n```\r\nIs this intended or is it a problem in the api ? (Actualy adding some magic make the code works…)\r\n\r\nThanks a lot"}}