{"action":"created","issue":{"url":"https://api.github.com/repos/sq/JSIL/issues/780","labels_url":"https://api.github.com/repos/sq/JSIL/issues/780/labels{/name}","comments_url":"https://api.github.com/repos/sq/JSIL/issues/780/comments","events_url":"https://api.github.com/repos/sq/JSIL/issues/780/events","html_url":"https://github.com/sq/JSIL/pull/780","id":99089289,"number":780,"title":"Js preprocessing","user":{"login":"iskiselev","id":5084964,"avatar_url":"https://avatars.githubusercontent.com/u/5084964?v=3","gravatar_id":"","url":"https://api.github.com/users/iskiselev","html_url":"https://github.com/iskiselev","followers_url":"https://api.github.com/users/iskiselev/followers","following_url":"https://api.github.com/users/iskiselev/following{/other_user}","gists_url":"https://api.github.com/users/iskiselev/gists{/gist_id}","starred_url":"https://api.github.com/users/iskiselev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iskiselev/subscriptions","organizations_url":"https://api.github.com/users/iskiselev/orgs","repos_url":"https://api.github.com/users/iskiselev/repos","events_url":"https://api.github.com/users/iskiselev/events{/privacy}","received_events_url":"https://api.github.com/users/iskiselev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-05T00:27:23Z","updated_at":"2015-08-05T01:07:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sq/JSIL/pulls/780","html_url":"https://github.com/sq/JSIL/pull/780","diff_url":"https://github.com/sq/JSIL/pull/780.diff","patch_url":"https://github.com/sq/JSIL/pull/780.patch"},"body":"Here is example of what I want for #779.\r\nThere is no any changes to any user in compilation process - you need just check out and build.\r\n\r\nInside JSIL solution was added new projects - JSIL.Libraries. All files from Libraries folder moved to this new project.\r\n\r\nThen I was able to start splitting JSIL.Bootstrap.js to much smaller files. All parts extracted from it went into JSIL.Libraries\\Includes folder - currently as an example I extracted very few classes, but will continue this process if we agree.\r\n\r\nSo, now in you can see this JSIL.Bootstrap.js block:\r\n```\r\n// #include \"Bootstrap/Core/System.String.js\"\r\n// #include \"Bootstrap/Core/System.Exception.js\"\r\n// #include \"Bootstrap/Core/System.Boolean.js\"\r\n// #include \"Bootstrap/Core/System.Char.js\"\r\n// #include \"Bootstrap/Core/System.Byte.js\"\r\n// #include \"Bootstrap/Core/System.SByte.js\"\r\n// #include \"Bootstrap/Core/System.UInt16.js\"\r\n// #include \"Bootstrap/Core/System.Int16.js\"\r\n```\r\n\r\nThis will allow me simply create something like BCL\\JSIL.Bootstrap.js, that will contain only minimal amount of classes/functions. It is really easy now remove only parts of `JSIL.Bootstrap.js` and check how it works. \r\n\r\nBesides, as there is also `#include_once` directive, we could easily manage utility functions - as an example, I've extracted some in Bootstrap/Core/Utils folder (look how System.Int16.js, Bootstrap/Core/System.UInt16.js and Bootstrap/Core/System.Boolean.js use them).\r\n\r\n@kg, this change is already good for merge. So, I'd like to discuss it ASAP, as otherwise I'll blocked on my tasks of moving to full BCL. Thank you."},"comment":{"url":"https://api.github.com/repos/sq/JSIL/issues/comments/127809870","html_url":"https://github.com/sq/JSIL/pull/780#issuecomment-127809870","issue_url":"https://api.github.com/repos/sq/JSIL/issues/780","id":127809870,"user":{"login":"iskiselev","id":5084964,"avatar_url":"https://avatars.githubusercontent.com/u/5084964?v=3","gravatar_id":"","url":"https://api.github.com/users/iskiselev","html_url":"https://github.com/iskiselev","followers_url":"https://api.github.com/users/iskiselev/followers","following_url":"https://api.github.com/users/iskiselev/following{/other_user}","gists_url":"https://api.github.com/users/iskiselev/gists{/gist_id}","starred_url":"https://api.github.com/users/iskiselev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iskiselev/subscriptions","organizations_url":"https://api.github.com/users/iskiselev/orgs","repos_url":"https://api.github.com/users/iskiselev/repos","events_url":"https://api.github.com/users/iskiselev/events{/privacy}","received_events_url":"https://api.github.com/users/iskiselev/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T01:07:43Z","updated_at":"2015-08-05T01:07:43Z","body":"If later you will find any problems with this solution, it could be very simple reverted - you just need build it once, make Libraries folder non-ignorable, delete JSIL.Libraries project and commit back generated Libraries."}}