Skip to content

Commit a281310

Browse files
author
Dave Brophy
committed
Tweaks for jsgo
1 parent 28508f4 commit a281310

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

playground/index.html renamed to playground/index.jsgo.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<html ng-app="playground">
33
<head>
44
<title>GopherJS Playground</title>
5-
<link rel="stylesheet" type="text/css" href="playground.css">
5+
<link rel="stylesheet" type="text/css" href="https://cdn.rawgit.com/dave/gopherjs.github.io/28508f4c/playground/playground.css">
66
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.18/angular.min.js"></script>
7-
<script src="playground.js"></script>
7+
<script src="{{ .Script }}"></script>
88
</head>
99
<body ng-controller="PlaygroundCtrl">
1010
<div id="banner">
@@ -16,17 +16,17 @@
1616
<input ng-model="imports" type="checkbox" />Imports
1717
</label>
1818
<input type="button" value="Share" ng-click="share()" />
19-
<input type="text" class="show-share-url-{{showShareUrl}}" id="share-url" value="{{shareUrl}}" onfocus="select()" />
19+
<input type="text" class="show-share-url-{{"{{"}}showShareUrl{{"}}"}}" id="share-url" value="{{"{{"}}shareUrl{{"}}"}}" onfocus="select()" />
2020
</span>
2121
</div>
2222

23-
<div class="box" id="content">
23+
<div class="box" id="content">
2424
<div class="box yellow" id="input">
2525
<textarea ng-model="code" id="code" autocorrect="off" autocomplete="off" autocapitalize="off" spellcheck="false"></textarea>
2626
</div>
2727
</div>
2828
<div class="box" id="output">
29-
<pre ng-repeat="line in output" class="{{line.type}}">{{line.content}}&nbsp;</pre>
29+
<pre ng-repeat="line in output" class="{{"{{"}}line.type{{"}}"}}">{{"{{"}}line.content{{"}}"}}&nbsp;</pre>
3030
</div>
3131
</body>
3232
</html>

0 commit comments

Comments
 (0)