<html>
<head>
<!-- External dependencies -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.15/require.min.js"></script>
<script src="//aui-cdn.atlassian.com/aui-adg/5.9.0/js/aui.js"></script>
<script src="//aui-cdn.atlassian.com/aui-adg/5.9.0/js/aui-experimental.js"></script>
<script src="//aui-cdn.atlassian.com/aui-adg/5.9.0/js/aui-datepicker.js"></script>
<link rel="stylesheet" type="text/css" href="//aui-cdn.atlassian.com/aui-adg/5.9.0/css/aui.css"/>
<link rel="stylesheet" type="text/css" href="//aui-cdn.atlassian.com/aui-adg/5.9.0/css/aui-experimental.css"/>
<!-- / External dependencies -->
</head>
<body>
<nav class="aui-header aui-dropdown2-trigger-group" role="navigation" data-aui-responsive="true">
<h1 id="logo" class="aui-header-logo aui-header-logo-aui"><a href="http://example.com/"><span class="aui-header-logo-device">AUI</span></a></h1></nav>
<section id="content" role="main">
<header class="aui-page-header">
<div class="aui-page-header-inner">
<div class="aui-page-header-image">
<span class="aui-avatar aui-avatar-large aui-avatar-project">
<span class="aui-avatar-inner">
<img alt="Atlassian logo" src="https://s3.amazonaws.com/uploads.hipchat.com/10804/576067/xDSzXnjbCKWdeDh/upload.png">
</span>
</span>
</div>
<div class="aui-page-header-main">
<ol class="aui-nav aui-nav-breadcrumbs">
<li><a href="http://example.com/">JIRA</a></li>
<li><a href="http://example.com/" class="custom">Configure</a></li>
<li class="aui-nav-selected">About Doge</li>
</ol>
<h1>Doge</h1>
</div>
<div class="aui-page-header-actions">
<div class="aui-buttons">
<button class="aui-button">Share</button>
<button class="aui-button">Delete</button>
<button class="aui-button">Save</button>
</div>
</div>
</div>
</header>
<div class="aui-page-panel">
<div class="aui-page-panel-inner">
<section class="aui-page-panel-content">
<button id="dialog-show-button" class="aui-button">Show dialog</button> </section>
</div>
</div>
</section>
<section role="dialog" id="demo-dialog" class="aui-layer aui-dialog2 aui-dialog2-medium" aria-hidden="true">
<header class="aui-dialog2-header">
<h2 class="aui-dialog2-header-main">Dialog</h2>
</header>
<div class="aui-dialog2-content">
<form class="aui actorform" action="#" name="jiraform" id="actorform" method="post">
<div class="content">
<div class="field-group">
<label for="summary">Actor<span class="aui-icon icon-required">Required</span></label>
<input type="text" value="" name="actor" id="actor" class="text" data-aui-validation-field required>
</div>
</div>
</form>
</div>
</section>
</body>
</html>
Output
You can jump to the latest bin by adding /latest
to your URL
Keyboard Shortcuts
Shortcut | Action |
---|---|
ctrl + [num] | Toggle nth panel |
ctrl + 0 | Close focused panel |
ctrl + enter | Re-render output. If console visible: run JS in console |
Ctrl + l | Clear the console |
ctrl + / | Toggle comment on selected lines |
ctrl + ] | Indents selected lines |
ctrl + [ | Unindents selected lines |
tab | Code complete & Emmet expand |
ctrl + shift + L | Beautify code in active panel |
ctrl + s | Save & lock current Bin from further changes |
ctrl + shift + s | Open the share options |
ctrl + y | Archive Bin |
Complete list of JS Bin shortcuts |
JS Bin URLs
URL | Action |
---|---|
/ | Show the full rendered output. This content will update in real time as it's updated from the /edit url. |
/edit | Edit the current bin |
/watch | Follow a Code Casting session |
/embed | Create an embeddable version of the bin |
/latest | Load the very latest bin (/latest goes in place of the revision) |
/[username]/last | View the last edited bin for this user |
/[username]/last/edit | Edit the last edited bin for this user |
/[username]/last/watch | Follow the Code Casting session for the latest bin for this user |
/quiet | Remove analytics and edit button from rendered output |
.js | Load only the JavaScript for a bin |
.css | Load only the CSS for a bin |
Except for username prefixed urls, the url may start with http://jsbin.com/abc and the url fragments can be added to the url to view it differently. |