mirror of
https://github.com/golang/go.git
synced 2025-05-05 23:53:05 +00:00
Change-Id: I117b113e2782cab1180e6f56e1869525564ab18f Reviewed-on: https://go-review.googlesource.com/14663 Reviewed-by: Andrew Gerrand <adg@golang.org>
25 lines
478 B
Go
25 lines
478 B
Go
// Copyright 2012 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// +build appengine
|
|
|
|
package main
|
|
|
|
import (
|
|
"mime"
|
|
|
|
"golang.org/x/tools/present"
|
|
|
|
_ "golang.org/x/tools/playground"
|
|
)
|
|
|
|
func init() {
|
|
initTemplates("./present/")
|
|
present.PlayEnabled = true
|
|
initPlayground("./present/", nil)
|
|
|
|
// App Engine has no /etc/mime.types
|
|
mime.AddExtensionType(".svg", "image/svg+xml")
|
|
}
|