Skip to content

Instantly share code, notes, and snippets.

@shubik
Created April 17, 2014 05:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shubik/10954882 to your computer and use it in GitHub Desktop.
Save shubik/10954882 to your computer and use it in GitHub Desktop.
Example of defining JSX dependency with JSX transformer
/** @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