Skip to content

Commit

Permalink
[demo] Don't render directly to <body>
Browse files Browse the repository at this point in the history
  • Loading branch information
insin committed Mar 19, 2015
1 parent ac7182d commit bfa1ee2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion demo/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,6 @@ var App = React.createClass({
}
})

React.render(<App/>, document.body)
React.render(<App/>, document.getElementById('app'))

}()
1 change: 1 addition & 0 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<Script src="../dist/react-filtered-multiselect.js"></script>
</head>
<body>
<div id="app"></div>
<script type="text/jsx;harmony=true" src="app.jsx"></script>
</body>
</html>

0 comments on commit bfa1ee2

Please sign in to comment.