Skip to content

Commit

Permalink
Add </audio> in front for injectDebugger with RN ^0.44
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed May 5, 2017
1 parent 31f7b72 commit 433d140
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/injectDebugger.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export const inject = (modulePath, bundleCode, options) => {
'';
const code = [
flag,
' </audio>', // Fix for RN ^0.44, it will skiped on Chrome for old versions of RN
' <style>',
' body { overflow: hidden; }',
' </style>',
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/debugger/0.21.expected.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@
<p>Status: <span id="status">Loading...</span></p>
</div>
<!-- remote-redux-devtools-on-debugger -->
</audio>
<style>
body { overflow: hidden; }
</style>
Expand Down

0 comments on commit 433d140

Please sign in to comment.