We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b4ccad commit da251c8Copy full SHA for da251c8
playground/index.html
@@ -8,7 +8,7 @@
8
</head>
9
<body ng-controller="PlaygroundCtrl">
10
<div id="banner">
11
- <span id="head">playground</span>
+ <span id="head">playground <small>(GopherJS {{version}})</small></span>
12
<span id="controls">
13
<input type="button" value="Run" ng-click="run(false)" />
14
<input type="button" value="Format" ng-click="format()" />
playground/playground.go
@@ -61,6 +61,7 @@ func main() {
61
scope.Set("imports", true)
62
scope.Set("shareUrl", "")
63
scope.Set("showShareUrl", false)
64
+ scope.Set("version", compiler.Version)
65
66
packages := make(map[string]*compiler.Archive)
67
var pkgsToLoad map[string]struct{}
0 commit comments