{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/b3a1fbaad22cc5f82bf409676453afd3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b3a1fbaad22cc5f82bf409676453afd3","url":"https://api.github.com/users/ddanielou","login":"ddanielou","id":1174337},"milestone":null,"updated_at":"2011-11-06T11:35:39Z","labels":[],"assignee":null,"closed_at":null,"comments":2,"url":"https://api.github.com/repos/bdkjones/CodeKit/issues/56","body":"Tried to make the title as descriptive as I could. If I have some imported files in a JS file with syntax checking activated, these imported files get checked even though they're set not to be checked in the file list. Thus, I keep getting warnings because of some library or other… such as, jquery…This doesn't seem to happen in your video demo, is it a bug or am I the bug?","html_url":"https://github.com/bdkjones/CodeKit/issues/56","number":56,"title":"Imported JS files with no syntax check do get their syntax checked when \"host\" file is saved","id":2151855,"created_at":"2011-11-05T13:15:28Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/b3a1fbaad22cc5f82bf409676453afd3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b3a1fbaad22cc5f82bf409676453afd3","url":"https://api.github.com/users/ddanielou","login":"ddanielou","id":1174337},"updated_at":"2011-11-06T11:35:39Z","url":"https://api.github.com/repos/bdkjones/CodeKit/issues/comments/2644936","body":"Hey, thanks for your answer.\r\n\r\nA \"Check imported files\" checkbox would help in the basic \"append libraries\" scenario, but still…\r\n\r\nI'm already experimenting with a \"main.js\" file whose sole purpose is to put together a bunch of separate scripts, and which basically goes like this:\r\n//@codekit-prepend library1, 2, …\r\n//@codekit-prepend ajax, notifications, animations, you name it…\r\n\r\nNot sure about it, it might prove hard to maintain on the long term, I don't know. It could obviously open the door to a whole lot of scoping problems and what not, but right now, it made my code a bit more organized, which I like. Since everyone of these blocks is wrapped into a closure, I don't see much trouble coming up anyway…\r\n\r\nLooking some more into this… Let X import Y. Syntax checking is deactivated for X (importer), activated for Y(imported). When we save Y, it checks syntax for both X and Y. When we save X, it doesn't for either. However slower it might be, wouldn't it be more predictable to observe each file's setting?\r\n\r\nAt the moment, the easiest seems for me to disable syntax checking for all files, and then check them manually. Surely there must be a better way?","id":2644936,"created_at":"2011-11-06T11:35:39Z"}}