Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitda251c8

Browse files
committed
Show the exact GopherJS version in the playground header.
1 parent1b4ccad commitda251c8

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

‎playground/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</head>
99
<bodyng-controller="PlaygroundCtrl">
1010
<divid="banner">
11-
<spanid="head">playground</span>
11+
<spanid="head">playground<small>(GopherJS {{version}})</small></span>
1212
<spanid="controls">
1313
<inputtype="button"value="Run"ng-click="run(false)"/>
1414
<inputtype="button"value="Format"ng-click="format()"/>

‎playground/playground.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ func main() {
6161
scope.Set("imports",true)
6262
scope.Set("shareUrl","")
6363
scope.Set("showShareUrl",false)
64+
scope.Set("version",compiler.Version)
6465

6566
packages:=make(map[string]*compiler.Archive)
6667
varpkgsToLoadmap[string]struct{}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp