Created
April 17, 2014 05:24
-
-
Save shubik/10954882 to your computer and use it in GitHub Desktop.
Example of defining JSX dependency with JSX transformer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @jsx React.DOM */ | |
define([ | |
'require', | |
'react', | |
'jsx!views/components/grid' | |
], function (require) { | |
var React = require('react'), | |
GridView = require('jsx!views/components/grid'); | |
... | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment