Skip to content

Commit

Permalink
Now we inject Opal into the page.
Browse files Browse the repository at this point in the history
  • Loading branch information
edubkendo committed Jun 7, 2013
1 parent b8d8664 commit 0d6d358
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Binary file modified 0.0.3_0.crx
Binary file not shown.
1 change: 1 addition & 0 deletions 0.0.3_0/opal-console.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,6 @@
<script src="opal/opal-parser.js"></script>
<script src="jquery.js"></script>
<script src="update-console.js" type="text/javascript" charset="utf-8"></script>
<script src="opalize.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>
6 changes: 6 additions & 0 deletions 0.0.3_0/opalize.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
jQuery.ajax({
url: "opal/opal.js",
success: function( data ) {
chrome.devtools.inspectedWindow.reload({ injectedScript: data });
}
});

0 comments on commit 0d6d358

Please sign in to comment.