{"action":"created","issue":{"url":"https://api.github.com/repos/Sanjo/meteor-jasmine/issues/162","labels_url":"https://api.github.com/repos/Sanjo/meteor-jasmine/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/Sanjo/meteor-jasmine/issues/162/comments","events_url":"https://api.github.com/repos/Sanjo/meteor-jasmine/issues/162/events","html_url":"https://github.com/Sanjo/meteor-jasmine/issues/162","id":58753428,"number":162,"title":"mobile-config.js produces syntax errors","user":{"login":"yauh","id":861198,"avatar_url":"https://avatars.githubusercontent.com/u/861198?v=3","gravatar_id":"","url":"https://api.github.com/users/yauh","html_url":"https://github.com/yauh","followers_url":"https://api.github.com/users/yauh/followers","following_url":"https://api.github.com/users/yauh/following{/other_user}","gists_url":"https://api.github.com/users/yauh/gists{/gist_id}","starred_url":"https://api.github.com/users/yauh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yauh/subscriptions","organizations_url":"https://api.github.com/users/yauh/orgs","repos_url":"https://api.github.com/users/yauh/repos","events_url":"https://api.github.com/users/yauh/events{/privacy}","received_events_url":"https://api.github.com/users/yauh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-24T15:22:13Z","updated_at":"2015-03-10T13:12:18Z","closed_at":null,"body":"I created the todos example as an app, plus added the following packages:\r\n\r\n* meteor-platform\r\n* insecure\r\n* less\r\n* iron:router@0.9.4\r\n* accounts-password\r\n* mike:mocha@0.5.2\r\n* sanjo:jasmine@0.12.4\r\n* velocity:html-reporter@0.4.2\r\n\r\nAt the root of the project I have a `mobile-config.js` file. Running my Meteor application and adding all sample tests results in the following error:\r\n\r\n    W20150224-15:59:51.571(1)? (STDERR) connections property is deprecated. Use getConnections() method\r\n    W20150224-15:59:51.820(1)? (STDERR) [sanjo:jasmine]: The file \"/Users/yauh/code/github/meteor-ci-test/app/mobile-config.js\" has syntax errors. [ReferenceError: App is not defined]\r\n\r\nSee the app repository at https://github.com/yauh/meteor-ci-test"},"comment":{"url":"https://api.github.com/repos/Sanjo/meteor-jasmine/issues/comments/78049609","html_url":"https://github.com/Sanjo/meteor-jasmine/issues/162#issuecomment-78049609","issue_url":"https://api.github.com/repos/Sanjo/meteor-jasmine/issues/162","id":78049609,"user":{"login":"DanielDornhardt","id":3845924,"avatar_url":"https://avatars.githubusercontent.com/u/3845924?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielDornhardt","html_url":"https://github.com/DanielDornhardt","followers_url":"https://api.github.com/users/DanielDornhardt/followers","following_url":"https://api.github.com/users/DanielDornhardt/following{/other_user}","gists_url":"https://api.github.com/users/DanielDornhardt/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielDornhardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielDornhardt/subscriptions","organizations_url":"https://api.github.com/users/DanielDornhardt/orgs","repos_url":"https://api.github.com/users/DanielDornhardt/repos","events_url":"https://api.github.com/users/DanielDornhardt/events{/privacy}","received_events_url":"https://api.github.com/users/DanielDornhardt/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T13:12:18Z","updated_at":"2015-03-10T13:12:18Z","body":"Mmh, I just wanted to let you know that even with the fix in the file-loader, for some reason the mobile-config.js - file isn't filtered out.\r\n\r\n    // Find files in the root folder\r\n    var files = glob(filePattern,\r\n      {\r\n        cwd: PWD,\r\n        ignore: 'mobile-config.js'\r\n      }\r\n    );\r\n\r\nIf I use underscore to filter the files afterwards:\r\n\r\n    files = _.reject(files, function(file){ return file == 'mobile-config.js'});\r\n\r\nI can circumvent the error.\r\n\r\nI don't know what's going on, i think it should be ignored too as the patch does, but it didn't work for some reason."}}