{"action":"created","issue":{"url":"https://api.github.com/repos/coderhaoxin/gulp-file-include/issues/75","labels_url":"https://api.github.com/repos/coderhaoxin/gulp-file-include/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/coderhaoxin/gulp-file-include/issues/75/comments","events_url":"https://api.github.com/repos/coderhaoxin/gulp-file-include/issues/75/events","html_url":"https://github.com/coderhaoxin/gulp-file-include/issues/75","id":97124650,"number":75,"title":"Not equal to operator in IF statement","user":{"login":"MsTrends","id":10553273,"avatar_url":"https://avatars.githubusercontent.com/u/10553273?v=3","gravatar_id":"","url":"https://api.github.com/users/MsTrends","html_url":"https://github.com/MsTrends","followers_url":"https://api.github.com/users/MsTrends/followers","following_url":"https://api.github.com/users/MsTrends/following{/other_user}","gists_url":"https://api.github.com/users/MsTrends/gists{/gist_id}","starred_url":"https://api.github.com/users/MsTrends/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MsTrends/subscriptions","organizations_url":"https://api.github.com/users/MsTrends/orgs","repos_url":"https://api.github.com/users/MsTrends/repos","events_url":"https://api.github.com/users/MsTrends/events{/privacy}","received_events_url":"https://api.github.com/users/MsTrends/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-07-24T19:24:11Z","updated_at":"2015-07-24T20:03:00Z","closed_at":null,"body":"I'm unable to use 'not equal to' operator in if statement. For example in following code, test.html file is still being included even if 'nav' variable is set to false.\r\n\r\n<pre>\r\n@@include('some.html', { \"nav\": false})\r\n</pre>\r\n\r\nand in 'some.html' file ...\r\n\r\n<pre>\r\n@@if (nav !== false) {\r\n  @@include('test.html')\r\n}\r\n</pre>"},"comment":{"url":"https://api.github.com/repos/coderhaoxin/gulp-file-include/issues/comments/124694405","html_url":"https://github.com/coderhaoxin/gulp-file-include/issues/75#issuecomment-124694405","issue_url":"https://api.github.com/repos/coderhaoxin/gulp-file-include/issues/75","id":124694405,"user":{"login":"MsTrends","id":10553273,"avatar_url":"https://avatars.githubusercontent.com/u/10553273?v=3","gravatar_id":"","url":"https://api.github.com/users/MsTrends","html_url":"https://github.com/MsTrends","followers_url":"https://api.github.com/users/MsTrends/followers","following_url":"https://api.github.com/users/MsTrends/following{/other_user}","gists_url":"https://api.github.com/users/MsTrends/gists{/gist_id}","starred_url":"https://api.github.com/users/MsTrends/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MsTrends/subscriptions","organizations_url":"https://api.github.com/users/MsTrends/orgs","repos_url":"https://api.github.com/users/MsTrends/repos","events_url":"https://api.github.com/users/MsTrends/events{/privacy}","received_events_url":"https://api.github.com/users/MsTrends/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T20:03:00Z","updated_at":"2015-07-24T20:03:00Z","body":"It seems the example mentioned above is not exactly depciting my situation. In my example above, variable is being passed to only one file 'some.html', but in my actual code it's being passed to two files one by one. For example:\r\n\r\nin first file ...\r\n\r\n<pre>\r\n@@include('some.html', { \"nav\": false})\r\n</pre>\r\n\r\nin 'some.html' file ...\r\n\r\n<pre>\r\n@@include('some-other.html', { \"nav\": \"@@nav\"})\r\n</pre>\r\n\r\nand now in 'some-other.html' file. This condition doesn't work.\r\n\r\n<pre>\r\n@@if (nav !== false) {\r\n  @@include('test.html')\r\n}\r\n</pre>\r\n\r\nAlthough, i can get 'nav' variable value in 'some-other.html' file but it's not being working in IF condition."}}