{"action":"opened","issue":{"url":"https://api.github.com/repos/petehunt/node-jsx/issues/33","labels_url":"https://api.github.com/repos/petehunt/node-jsx/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/petehunt/node-jsx/issues/33/comments","events_url":"https://api.github.com/repos/petehunt/node-jsx/issues/33/events","html_url":"https://github.com/petehunt/node-jsx/issues/33","id":57208874,"number":33,"title":"Options is not used until node-jsx is required.","user":{"login":"jontelm","id":2929793,"avatar_url":"https://avatars.githubusercontent.com/u/2929793?v=3","gravatar_id":"","url":"https://api.github.com/users/jontelm","html_url":"https://github.com/jontelm","followers_url":"https://api.github.com/users/jontelm/followers","following_url":"https://api.github.com/users/jontelm/following{/other_user}","gists_url":"https://api.github.com/users/jontelm/gists{/gist_id}","starred_url":"https://api.github.com/users/jontelm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jontelm/subscriptions","organizations_url":"https://api.github.com/users/jontelm/orgs","repos_url":"https://api.github.com/users/jontelm/repos","events_url":"https://api.github.com/users/jontelm/events{/privacy}","received_events_url":"https://api.github.com/users/jontelm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-10T17:41:28Z","updated_at":"2015-02-10T17:41:28Z","closed_at":null,"body":"If node-jsx is required after example Express, all express files will be checked by node-jsx but without options. So require node-jsx before express, otherwise will it take some extra time to start node / express.\r\n\r\nWrong:\r\n```javascript\r\nvar express = require('express'), // node-jsx options is empty here\r\n    fs = require('fs'), // node-jsx options is empty here\r\n    passport = require('passport'), // node-jsx options is empty here\r\n    nodeJSX = require('node-jsx').install({extension: '.jsx'}); // It's here the options starts to take action and only jsx will be checked.\r\n```\r\nRight:\r\n```javascript\r\nvar nodeJSX = require('node-jsx').install({extension: '.jsx'}),\r\n    express = require('express'),\r\n    fs = require('fs'),\r\n    passport = require('passport');\r\n```\r\n\r\nNot a big deal, but maybe something we should add to the readme ?"}}