2014-05-05 15:55:27 -06:00
|
|
|
// 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 (
|
2014-06-02 22:16:59 -06:00
|
|
|
"mime"
|
|
|
|
|
2014-11-09 14:50:40 -07:00
|
|
|
"golang.org/x/tools/present"
|
2014-05-05 15:55:27 -06:00
|
|
|
)
|
|
|
|
|
|
|
|
func init() {
|
2015-09-16 20:11:32 -06:00
|
|
|
initTemplates("./present/")
|
2014-05-05 15:55:27 -06:00
|
|
|
present.PlayEnabled = true
|
2015-09-16 20:11:32 -06:00
|
|
|
initPlayground("./present/", nil)
|
2014-06-02 22:16:59 -06:00
|
|
|
|
|
|
|
// App Engine has no /etc/mime.types
|
|
|
|
mime.AddExtensionType(".svg", "image/svg+xml")
|
2014-05-05 15:55:27 -06:00
|
|
|
}
|