You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
caddy-hugo2/assets/bindata.go

334 lines
2.5 MiB

// Code generated by go-bindata.
// sources:
// simplemde/dist/simplemde.min.css
// simplemde/dist/simplemde.min.js
// simplemde/debug/simplemde.css
// simplemde/debug/simplemde.debug.js
// simplemde/debug/simplemde.js
// DO NOT EDIT!
package assets
import (
"bytes"
"compress/gzip"
"fmt"
"io"
"io/ioutil"
"os"
"path/filepath"
"strings"
"time"
)
func bindataRead(data []byte, name string) ([]byte, error) {
gz, err := gzip.NewReader(bytes.NewBuffer(data))
if err != nil {
return nil, fmt.Errorf("Read %q: %v", name, err)
}
var buf bytes.Buffer
_, err = io.Copy(&buf, gz)
clErr := gz.Close()
if err != nil {
return nil, fmt.Errorf("Read %q: %v", name, err)
}
if clErr != nil {
return nil, err
}
return buf.Bytes(), nil
}
type asset struct {
bytes []byte
info os.FileInfo
}
type bindataFileInfo struct {
name string
size int64
mode os.FileMode
modTime time.Time
}
func (fi bindataFileInfo) Name() string {
return fi.name
}
func (fi bindataFileInfo) Size() int64 {
return fi.size
}
func (fi bindataFileInfo) Mode() os.FileMode {
return fi.mode
}
func (fi bindataFileInfo) ModTime() time.Time {
return fi.modTime
}
func (fi bindataFileInfo) IsDir() bool {
return false
}
func (fi bindataFileInfo) Sys() interface{} {
return nil
}
var _simplemdeDistSimplemdeMinCss = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x3a\xcd\x8e\xe3\xb8\xd1\xf7\x7d\x0a\x7d\x33\x18\xcc\x78\x60\x79\x24\xbb\xd5\xdd\x96\x81\xc5\x7c\xd8\x4b\xf6\xb0\x7b\x49\x80\x9c\x29\xb1\x64\x13\x4d\x91\x5a\x8a\x72\xbb\xc7\xf0\x6b\xe4\x41\x72\xce\xd3\xe4\x49\x02\x92\xa2\x4c\x4a\xf4\xcf\x6c\x26\x30\x1a\x68\x91\x55\xc5\xaa\x62\xfd\x4b\x5f\x3e\x7f\xfe\x29\xfa\x1c\xb5\xa4\x6e\x28\xd4\x18\xa2\x7d\xba\x48\xd3\xc5\x52\x2d\xfe\xc2\x9b\x37\x41\xb6\x3b\x19\xfd\x0e\x07\x19\xfd\x55\x42\x13\xfd\x1d\x8a\x76\x1e\xfd\xca\xca\x85\x82\xf8\x4a\x09\x7b\x89\x76\x52\x36\x6d\xfe\xe5\xcb\x96\xc8\x5d\x57\x2c\x4a\x5e\x7f\x51\x08\x0a\x5e\x81\x7f\x19\x88\xc7\x35\x12\x2f\x98\xbf\xb2\x18\x30\x91\x5c\xf4\x24\x4a\x60\x2d\x44\xbf\xfd\xfa\xb7\x9f\xa2\xcf\x5f\x7e\x5a\xfc\xc2\x31\xfc\x46\x84\xe0\xe2\x58\x71\x26\xe3\x0a\xd5\x84\xbe\xe5\x35\x67\xbc\x6d\x50\x09\x9b\x1d\x28\xa6\xf2\x55\x92\x34\x87\x4d\xc9\x29\x17\xf9\xfb\x24\x49\x4e\x0e\x66\x4c\x09\x83\xf6\xd8\x20\x8c\x09\xdb\xe6\x0f\xcd\x21\xf2\xf6\xa3\x46\xc0\xb0\x9b\x44\x0f\xcd\xc1\xc3\xde\x76\x52\x82\x88\x2b\x42\x29\x88\xb9\xbb\xd3\x96\x82\x53\x5a\x20\xbb\x79\x2c\x50\xf9\xb2\x15\xbc\x63\x38\xee\x59\xa9\xaa\x2a\x40\xac\x3d\x16\x5c\x60\x10\xb1\xd6\x68\x9e\x36\x87\xa8\xe5\x94\xe0\xe8\x3d\xc6\x78\x13\xa0\xf2\xa4\x7e\x9b\xd7\x1d\x91\x10\x6b\xb9\x73\xc6\x5f\x05\x6a\x26\x62\xb2\xae\x2e\x40\x38\xd2\xac\x94\xb4\x51\xd6\x1c\x36\x35\x61\xf1\x2b\xc1\x72\x97\x2f\x95\xae\x24\x1c\x64\x8c\x28\xd9\xb2\x5c\x73\x61\x95\xb7\x5e\xaf\x6f\x1d\x64\x84\x50\xf7\x07\xe2\x78\x41\xe7\x2e\x4c\xdc\x76\x85\xa4\x70\x3c\x9f\xe0\x81\x96\x9d\x68\xb9\xb0\x2a\xa1\x50\x79\x1a\x49\x92\x64\xe3\x69\x8b\x71\x06\x1b\x23\x88\x7f\x8d\x98\xec\xbd\xdb\x81\x92\x33\x8c\xc4\xdb\x55\xfa\x2d\xa1\x7b\x10\xa7\x45\x59\xc7\x15\x92\x3d\x2f\x51\x80\x3d\x73\x22\xea\x24\xef\xd9\xc9\x93\xff\x23\x75\xc3\x85\x44\x4c\x3a\x77\x96\xbf\x7f\x82\xa7\x31\xbd\x11\x6b\x66\xb5\x3d\x7e\x8b\x09\xc3\x70\xc8\x53\x0d\x8f\x18\xa9\x91\x04\x07\x2f\x74\xe8\x26\x7e\x85\xe2\x85\xc8\x1e\x9c\x70\x96\x17\xda\xf3\xd2\x45\xf2\xd8\x46\xad\x84\xa6\xfd\x94\xce\x22\xc2\x2a\xc2\x88\x84\x4d\x5c\xf3\x6f\x77\x03\xdf\x0b\x37\xb5\x51\x25\xf5\x57\x7d\xd6\x0b\xbc\x55\x02\xd5\xd0\x46\x9a\xc6\x31\x4b\x3e\x4c\x3d\x43\x0a\xc4\xda\x06\x09\x60\xf2\x74\xfa\x6a\x65\xfa\x13\xa8\xdf\x8f\xa2\x74\x2d\x51\x71\xc4\xa4\x6d\x28\x7a\xcb\x09\x53\x9e\x13\x17\x94\x97\x2f\xc6\x2d\x30\x94\x5c\x18\x35\x10\xb6\x03\x41\xa4\x67\xb0\xa2\xa3\xca\x87\x1b\xde\x12\x0d\x83\x8a\x96\xd3\x4e\xc2\x46\xdb\x56\xb2\x31\x76\x9a\x6c\x24\x6f\xf2\x38\x53\xce\x56\x70\x29\x79\x9d\xc7\xda\xf3\xf8\x1e\x44\x45\xf9\x6b\xbe\x23\x18\x03\x9b\x92\xbe\xe4\x0a\x65\x59\x6a\x9a\x89\xa5\x97\x6c\x26\x3c\x68\xe9\xda\x18\x43\x85\x3a\x2a\x23\xf5\xb4\x03\x84\x5d\x47\xad\x02\x30\x7f\x74\x5c\x0e\x0e\x9a\xac\x13\x0d\xc2\x60\x8b\x24\xd9\x0f\xeb\xf8\xe1\x41\xaf\x9b\x43\xcf\xeb\xcb\xf5\xf2\x74\x3e\x68\xae\xa9\x4b\xc1\xd9\xd6\xc4\xec\x57\x13\xa2\x9f\x12\x43\x15\x6a\xb3\xdc\xca\x37\x0a\x39\x91\x88\x92\x52\x6f\xe8\xeb\x1b\xeb\xbf\x63\x18\x84\xba\x9f\x53\x4f\x96\xbc\x80\xdc\x09\xde\x6d\x77\x13\x58\x7d\x8d\xfd\x66\x40\xc6\x17\x78\x7b\xe5\x02\x5b\xae\x9f\x92\xe7\x00\x10\x92\xbc\x1e\xe4\x4a\xd7\x01\x88\x3e\xc4\xf6\x30\xe9\xe3\x43\x00\x06\x43\x75\x5d\xdf\x7b\x24\x08\x2a\x28\xc4\xcb\x01\x2e\x43\xd7\xe0\x56\x03\xdc\x73\x16\x80\x2b\x79\x5d\x03\x93\x16\x08\x65\x49\x00\x48\x69\x8f\x6d\x07\x98\x34\xbd\x08\x73\x66\xab\x0a\x52\xaa\x41\x22\x0b\x91\x65\x21\x86\xfe\xe8\x10\x25\x15\x39\x2b\x2a\x0c\x56\x74\x84\x4a\xc2\x2c\xd0\x2a\x09\x29\xa1\x10\xa8\x7c\x01\x79\xce\x1f\x4f\x01\x20\x89\x06\xc9\xd2\xa7\x10\xcf\x48\x4a\x41\x8a\xce\x31\xf3\xa4\x0c\x79\x8b\xf0\xf2\xd4\x64\x5f\x5b\xe9\x55\x0a\xa0\xcb\x15\x03\x22\x00\x6b\x08\xc2\xf6\x88\x12\x5c\xee\x90\xb7\xe3\xe6\x04\x5e\x2b\xbf\x62\x5b\xeb\xfd\xbd\x8f\x2f\xad\xff\x9f\xfc\x24\x12\xb5\x0d\x62\x2e\x81\x1a\xc9\x72\x47\xd8\x76\xa4\xad\xa4\x4a\x6e\x61\x32\xce\x2e\x20\x57\xcb\xe5\x29\x74\x86\x52\xb6\x93\xf2\xc4\xb6\x40\x9f\x96\x59\x36\x4f\xb3\x64\x9e\xcc\x17\xab\x99\x87\x85\x4a\x15\x2d\x4c\x90\x1d\x90\x5c\xfc\xf7\xf0\x5c\x2d\xfd\x4a\xe9\x1c\x5d\x05\x50\x1d\x85\xc6\x71\xd3\xcb\xb9\xe3\x3a\xcb\x94\x66\xc7\x01\xc5\x3c\x3
func simplemdeDistSimplemdeMinCssBytes() ([]byte, error) {
return bindataRead(
_simplemdeDistSimplemdeMinCss,
"simplemde/dist/simplemde.min.css",
)
}
func simplemdeDistSimplemdeMinCss() (*asset, error) {
bytes, err := simplemdeDistSimplemdeMinCssBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "simplemde/dist/simplemde.min.css", size: 11330, mode: os.FileMode(436), modTime: time.Unix(1500253474, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _simplemdeDistSimplemdeMinJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\xbd\xeb\x92\xdb\xb8\xd2\x20\xf8\x7f\x9e\x42\xe2\x76\xf3\x10\x26\xa4\x12\x55\xe5\x6a\x37\x29\x48\xd3\xed\x76\x5f\x7d\xe9\xd3\x76\xdf\x8e\xac\xe3\x8f\x45\x41\x25\xb6\x59\x80\x1a\x84\xea\xd2\x45\x7d\x31\xff\x37\x36\x62\x1e\x61\x62\x63\x7f\xef\x43\xcc\x53\xec\xef\xef\x49\x36\x90\x00\x48\x90\x92\x6c\x9f\x3e\x67\x62\xbe\x70\x84\x4b\xc4\x25\x91\x00\x12\x89\x44\x22\x33\x71\xf2\xe0\xc1\x7f\xe9\x3d\xe8\x95\xf9\xd5\xa6\xa0\x57\x4b\xda\xbb\x8e\x86\x51\x34\x1c\xab\xc4\xc7\x7c\x73\x27\xf2\xcb\xb5\xec\x3d\xa7\xb7\xb2\xf7\x52\xd2\x4d\xef\x67\x7a\x51\xe2\xde\x37\x2c\x1b\xaa\x12\xff\xb5\xc8\xd9\xdb\xde\x5a\xca\x4d\x19\x9f\x9c\x5c\xe6\x72\xbd\xbd\x18\x66\xfc\xea\x44\x55\x50\xe5\x55\xf1\x93\x1a\xf8\xe0\x2a\x15\x6f\x97\xfc\x86\x0d\xe8\x32\x97\x5c\x18\x10\x19\x65\x25\xed\x3d\xfb\xe6\xd5\x7f\xe9\x3d\x38\xf9\x2f\xfd\xd5\x96\x65\x32\xe7\x2c\xa0\xe8\x3e\x5f\x05\x1e\xbf\xf8\x8d\x66\xd2\x23\x44\xde\x6d\x28\x5f\xf5\xe8\xed\x86\x0b\x59\xfa\xbe\xb7\x65\x4b\xba\xca\x19\x5d\x7a\x7d\x9b\x79\xc5\x97\xdb\x82\x22\xfd\x67\x68\x8a\x12\x1a\xa0\x84\x16\x25\xed\x29\x78\x16\x7e\x03\x51\x43\xf1\x7d\xfd\x77\x98\x5e\x2d\x91\xfe\x19\xcc\x17\x98\xea\xaa\xf7\xc1\xa1\xe6\x6e\x72\xb6\xe4\x37\x33\xfd\x27\x3e\x54\xe2\xb2\xe0\x17\x69\x31\xd3\x7f\x0e\x96\x28\x69\xb1\x9a\xa9\xff\x62\xb9\xce\x4b\x34\x7c\x09\xc3\xf5\xec\x8b\x27\x0a\xed\xdd\x2e\xa8\xc7\x03\xdd\x0b\x2a\xb7\x82\xf5\x6c\x4a\x8f\x06\x12\x33\x2c\xd0\x7d\x9d\x92\x07\x29\x2e\x60\xdc\xfa\x6c\x9e\x2e\xf4\x2f\x09\xbf\xae\x53\xd1\x2b\xc9\x81\xee\x0b\xfa\xfb\x36\x17\xd4\xf7\xcd\x8f\x44\xd5\x29\x7c\xbf\x44\xa6\xbd\x32\x48\x71\x7f\x84\x54\x3a\xb7\x69\xdc\xa4\x29\xa8\x19\x61\xf4\xa6\xf7\x44\x08\x2e\x02\xef\x71\xca\x18\x97\xbd\x55\xce\x96\x66\x36\x7a\x7f\xf1\xc2\x34\xf4\xfe\xe2\xa1\x44\xae\x05\xbf\xe9\x65\xc3\x8c\x2f\x29\xf1\x9e\xbd\xf8\xe2\xc7\xa7\x4f\xde\x3c\x7f\xf1\xea\xcd\x97\x2f\x7e\x7c\xfe\x85\x87\xb3\x9d\x82\xb7\x25\x0a\x77\x72\x6f\xa6\x2f\xbe\xdf\xed\x12\xd5\x87\xf9\x68\x31\xcc\xd2\xa2\x08\xb6\x76\x66\xb1\x4b\x2c\xaa\x2a\x23\x50\x30\x5a\xcc\xe9\x22\x31\xa8\xe6\x01\xab\x2a\x8a\x76\x78\x8b\x9b\x8a\x14\xeb\xa1\xdb\x99\x42\xaa\x45\x9b\xb9\x5b\x71\x11\x28\x68\xfc\x43\x86\x0b\xa7\x64\x94\xa4\x13\x31\x2c\x28\xbb\x94\xeb\x24\x0d\x43\x94\x07\x42\x8d\x79\x8d\xc1\x2e\xb8\x8f\xe2\x79\x83\xac\x6a\x1c\xdd\x7b\xdb\x92\xf6\x4a\x29\xf2\x4c\x7a\x49\x3d\x85\xc2\xf6\x45\x12\x6a\x61\xe6\xab\x40\x7e\x7c\x36\x1d\x21\x3d\x80\xce\x70\x7f\xc3\xae\xd3\x22\x5f\x02\x18\x76\x39\xec\x3d\x85\x0a\xbd\xab\x6d\x29\x7b\x17\xb4\x97\xf6\xae\xb6\x85\xcc\x37\x05\xed\xf1\x55\xef\xcc\xb3\x28\x79\xc4\x23\x84\xd0\xb9\x1c\x8c\x17\xb3\x71\xdc\x7c\x46\x8b\x59\x14\x8f\x76\x0e\x41\xd1\x9a\xee\xd2\x39\x9d\x4e\xa3\x47\xfe\xf9\xe9\x22\xd4\xbf\xc7\xcd\xef\x73\xf3\xf3\xfc\xd4\xa7\x8b\xa6\x3e\xb7\x9d\xb5\x63\x2a\x30\x27\xf3\x05\x4e\x89\x4c\xd2\x09\x4b\xd2\x90\x9c\x22\x41\x02\x3a\x4f\x17\x93\x49\x74\x8e\x42\xf5\x33\x8c\x16\x93\xc9\x23\x14\xaa\x9f\xe3\x05\xe6\xc3\xcd\xb6\x5c\x07\x79\x20\x50\x3d\xa6\x7c\xf8\x1b\xcf\x59\xe0\x79\x68\xc7\x86\x17\x77\x92\xea\x9e\x13\x97\x22\x4c\xd1\xd3\x07\x76\x20\x4f\xce\x06\x6a\x78\x77\x98\x0d\x25\xff\xfc\x4e\xd2\xcf\x84\x48\xef\x48\x97\x8a\x14\x69\xe4\x98\xe3\x14\x67\x78\xdb\xcc\x42\x4a\x54\x65\xac\xc9\xbd\x0c\x4e\x1f\x6c\x4f\xce\x06\x29\xc2\x39\x49\xa7\xa3\xd9\x76\x70\x16\x6f\x61\x3d\xac\xc8\x28\x51\xdd\x95\x64\x84\x19\x19\x25\x72\x92\x27\x32\x24\x67\x98\xa9\xce\x72\x52\xcc\xe9\x30\x5b\xa7\xe2\x31\x5f\xd2\xcf\x64\x20\x91\xea\xf9\xa3\xaa\x9b\x1c\x46\x90\x31\xde\xcf\x18\xab\x8c\xf3\xfd\xf4\x53\xb4\xc0\xd9\x7c\x15\x86\x0b\xc2\xa7\xd3\xe8\xdc\x1f\x3f\x7c\xe8\x24\x3c\x72\xbf\xc7\x0f\x1f\xfa\xdc\x0e\xe6\x98\x10\x92\xce\x82\xc3\xa8\x1d\x40\x20\x42\x8b\xe9\xf4\xac\x05\x0a\xc5\x91\x02\xe2\xfb\x47\xa0\x44\xa3\x23\x1d\x3c\x3b\xd8\xbf\xe9\x74\xfc\x4e\xcc\x11\xce\xd4\x2c\xae\x04\xbf\x3a\x3c\x8f\x96\xde\x24\x66\xf5\x0c\x62\x41\xd8\xc7\xa7\x38\x27\x9e\x87\x0b\x45\x85\x25\x19\xa9\xe9\x1c\x88\xa4\x9c\x64\x49\x19\x92\xe8\xfc\xf4\xd1\x29\x2a\x34\xbd\x29\xda\x2d\x71\x19\x42\xe2\x34\x9b\x65\xb1\xf9\xdd\x50\xa1\xea\xb3\x98\x05\x92\xd0\x39\x1b\x44\x0b\x9c\x87\x24\x9d\xcb\xe9\x74
func simplemdeDistSimplemdeMinJsBytes() ([]byte, error) {
return bindataRead(
_simplemdeDistSimplemdeMinJs,
"simplemde/dist/simplemde.min.js",
)
}
func simplemdeDistSimplemdeMinJs() (*asset, error) {
bytes, err := simplemdeDistSimplemdeMinJsBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "simplemde/dist/simplemde.min.js", size: 276151, mode: os.FileMode(436), modTime: time.Unix(1500253478, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _simplemdeDebugSimplemdeCss = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xbc\x5b\x6f\x6e\xe4\xb6\x92\xff\xee\x53\xd4\x66\x10\xcc\xd8\x68\xb5\xd5\xdd\x6e\x7b\xdc\x06\x82\x64\x93\xbc\x37\x01\x36\x79\x41\x32\x79\x8b\xfd\x48\x49\x54\x8b\x30\x45\x2a\x24\xe5\xb6\x67\xe0\x6b\xec\x41\xf6\xf3\x9e\x66\x4f\xb2\xe0\x1f\x49\xa4\x44\xb5\xdb\xd9\x64\x61\x20\x48\x93\xc5\xaa\x62\xb1\xaa\xf8\xab\xa2\xe6\xf2\xe2\xe2\x0c\x2e\x40\x92\xba\xa1\xb8\x2e\x30\x3c\xac\x96\xab\xd5\x72\xad\x07\xbf\xe5\xcd\x93\x20\xfb\x4a\xc1\x4f\xf8\x51\xc1\xaf\x0a\x37\xf0\xef\x38\x93\x0b\xf8\x81\xe5\x4b\x4d\xf1\x35\x25\xec\x1e\x2a\xa5\x1a\xb9\xbb\xbc\xdc\x13\x55\xb5\xd9\x32\xe7\xf5\xa5\x5e\xa0\xe9\x35\xf9\x65\xcf\x3c\xa9\x91\xb8\x2f\xf8\x81\x25\xb8\x20\x8a\x0b\xc7\x22\xc7\x4c\x62\xf8\xf1\x87\x8f\x67\x70\x71\x79\x76\x79\x01\xff\xfa\xcd\xaf\x3f\x7c\xfb\xab\xfe\x71\xb6\xfc\x96\x17\xf8\x47\x22\x04\x17\xf0\xf9\x0c\xe0\xf2\x02\x7e\xc5\x0a\x2a\xac\xf5\x5a\xc0\x81\x14\xaa\x5a\x40\xc6\x45\x81\x85\x5c\x00\x62\x05\xec\x29\xcf\x10\x85\x92\x33\x05\x8d\xe0\x0d\x16\x8a\x60\x09\x15\x16\x58\xb3\x04\x33\x93\x94\xa8\x26\xf4\x69\x07\x35\x67\x5c\x36\x28\xc7\x77\x67\xe0\xd8\xee\x60\x93\xa6\xcd\xa3\x1e\xc8\x39\xe5\x62\x07\x19\x45\xf9\xfd\xdd\xd9\xf3\x99\xd6\xee\xe7\x6f\xbe\xfb\xee\x87\x9f\xfe\x3e\x56\x2f\xa1\x84\x61\x69\x94\x6c\x50\x51\x10\xb6\xdf\xc1\x55\xf3\x08\xe9\x9d\x56\xfa\x9f\x5a\x8b\x1c\xd1\x6e\x0e\x90\xe0\x2d\x2b\x20\xe7\x4c\x61\xa6\x34\xb3\xe7\x60\xb3\x8d\xc0\x21\xaf\x54\x73\x33\xbc\x3e\x70\x41\x3e\x71\xa6\x3c\x6e\xbc\x0c\x39\x05\x8a\xc9\x5c\x70\x4a\x33\x24\x92\x92\x50\x8a\xc5\x02\xfc\xd9\x7d\xab\x14\xee\xa6\x8c\xc8\x0c\xe5\xf7\x7b\xa3\x5e\xe2\xf6\x7f\xa8\x88\xc2\x46\xf6\xc7\x0a\x03\x25\x4a\x51\x0c\xf2\xf7\x16\x09\x0c\x19\x56\x07\x8c\x19\x7c\x30\xc6\xff\x27\xf4\xd2\xa4\x53\xe5\xf2\x02\xfe\xfe\xdb\xc7\x8f\xdf\xff\x32\xb1\x98\x15\x6d\x6d\x66\x8f\x30\x11\xf6\x00\x56\xcd\x23\x48\x4e\x49\x01\x6f\x8a\xa2\xb8\x8b\x2a\xf5\xa6\xbc\xd1\x7f\x7a\xd2\xe8\x97\x98\x63\xdc\x01\xe3\x07\x81\x9a\xbb\xd0\x9e\xe6\x74\x58\x5b\x67\x46\xde\xdc\xd4\xd8\xe2\x1b\x7d\x7e\xb0\xb5\xbe\x50\x13\x96\x18\x7f\xdb\xc1\xda\xb9\x87\xc2\x8f\x2a\x41\x94\xec\xd9\x0e\x8c\xe6\x9e\xcf\xbc\xb9\xbd\xbd\x3d\xa2\x5b\xc4\x10\x3a\x3a\xb4\x0e\xa1\xd7\xc1\xf3\x2c\x69\x22\xdb\x4c\x9f\xc4\xe7\x40\x26\x58\x9b\x7f\xfb\xdb\x2f\xbf\xfe\x63\x6a\xf3\xbc\x15\xd2\xc5\x92\x33\x39\xc5\x65\x60\x71\xe7\xec\xe3\x23\x61\x9c\x99\x18\x71\x26\x48\xf5\x26\x74\x34\x56\xfc\xc0\xe0\x50\x61\x06\x35\x7f\xd0\xbe\x48\x18\x64\x24\x29\x88\xc0\xb9\x22\x9c\x21\x6a\xcc\xa4\x15\xf1\xfd\xbb\x20\x0f\x81\x8f\xe2\x9c\xb3\x02\x89\xa7\x97\xf5\x93\x84\x3e\x60\x61\xce\x37\xaf\x93\x12\xa9\x6e\x4f\x33\xdb\x74\x0a\xa3\x56\xf1\x61\x57\xfa\x74\xff\x85\xd4\x0d\x17\x0a\x31\x15\x3a\xd8\x0e\xde\xdc\xe0\x9b\x88\x80\x91\xce\x76\xd4\xba\xef\xa7\x84\xb0\x02\x3f\xee\x60\x65\x0f\x37\xaf\x13\xc4\x48\x8d\x14\xf6\x19\x1c\x53\x47\xff\x48\x0e\x38\xbb\x27\xca\x2d\x25\x9c\x69\x27\xd0\x29\x76\xb5\x4c\xaf\x25\x48\x85\x1b\xf9\x6e\x75\x0e\x84\x95\x84\xe9\x90\xd4\x6b\x6a\xfe\xe9\x55\x0b\x5e\x43\x1b\x89\x3a\x67\x9a\xaf\x8d\xdc\x7b\xfc\x54\x0a\x54\x63\xe9\x58\xe9\x0d\xa6\x5f\xea\x00\x03\xd8\xea\xff\x89\x70\x50\x02\x31\xd9\x20\x81\x99\xd2\xbe\x0a\xb0\x4a\xed\x12\xcd\xd4\x19\xe0\xcf\xe6\xfb\x27\xf3\x33\xf1\x85\x18\x48\xf5\x44\x31\xf4\xde\x51\x96\x58\x53\xeb\x08\xe0\x0f\x58\x1c\x04\x51\x18\xde\x31\xce\x12\xc2\x24\x16\xea\x1c\x6a\x5e\xe0\x51\x24\x24\x03\x69\xcc\x81\x9d\x33\x29\x94\xc1\x67\x28\x88\x6c\x28\x7a\xda\x01\x61\x3a\x69\x25\x19\xe5\x3a\x43\x98\x34\x54\xe0\x9c\x0b\x77\xae\x84\x55\x58\x10\xa3\x76\x20\x4a\xb4\xb4\xcb\xb7\x0d\x97\xc4\x12\xa3\x4c\x72\xda\xda\xf3\xb6\xb1\x96\xde\x81\x0b\xfa\xf4\x0e\x14\x6f\x76\x90\x6c\x75\xc6\x83\x8c\x2b\xc5\xeb\x1d\x24\x5d\x02\xd4\xba\x97\x94\x1f\x76\x50\x91\xa2\xc0\x6c\x9c\x75\x8d\xc0\x63\xc1\xfc\x26\xcf\x73\x93\x49\xb5\x94\x74\x90\x60\xc2\x21\xa6\xa3\x35\xfe\x77\xdf\xff\xed\x9b\xdf\xfe\xed\x23\x7c\xfc\xf0\xfd\x8f\xdf\xdb\x1c\x97\xd7\x89\x4c\x0a\x5c\xa2\x96\x2a\xd0\xbf\x2a\x8c\x0a\x2d\xbc\xcf\xa6\x2d\xbe\x7b\x8e\xd0\xfd\xde\x72\x85\x7b\xb2\x37\xe9\x6d\xea\xc8\x18\xde\x23\x45\x1e\xbc\xb9\xe2\xea\xca\xcd\x59\xd5\xfc\xb9\xf5\xed\xda\xcd\x59\xc1\x0b\xc3\x5c\
func simplemdeDebugSimplemdeCssBytes() ([]byte, error) {
return bindataRead(
_simplemdeDebugSimplemdeCss,
"simplemde/debug/simplemde.css",
)
}
func simplemdeDebugSimplemdeCss() (*asset, error) {
bytes, err := simplemdeDebugSimplemdeCssBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "simplemde/debug/simplemde.css", size: 15333, mode: os.FileMode(436), modTime: time.Unix(1500253473, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _simplemdeDebugSimplemdeDebugJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\x79\x77\xdb\x38\xb2\x28\xfe\x77\xfb\x53\x20\x7a\x73\x63\x2a\xda\x65\xc7\x6b\xe4\xdc\xc4\x71\xa6\x73\x27\x4b\xbf\x76\x7a\x7a\xe6\xc5\xbe\x09\x44\x42\x12\x13\x8a\xd0\x10\xa4\x97\x8e\x7d\x3f\xfb\xef\x54\x15\x00\x02\x14\x25\x3b\xdd\x3d\xcb\x7b\xbf\xe9\x3e\x87\xb1\xb0\x14\x0a\x85\x42\x55\x01\x28\x14\x7a\x8f\x1e\x6d\xb0\x47\x4c\xc5\xf3\x45\x22\xe6\x91\x60\x17\x83\xee\x60\xd0\x1d\x42\xe2\xb1\x5c\x5c\x67\xf1\x74\x96\xb3\xb7\xe2\x2a\x67\xa7\xb9\x58\xb0\x9f\xc5\x58\xb5\xd9\xab\x34\xec\x42\x89\xff\x4c\xe2\xf4\x0b\x9b\xe5\xf9\x42\x1d\xf4\x7a\xd3\x38\x9f\x15\xe3\x6e\x28\xe7\x3d\xa8\x00\xe5\xa1\x78\xcf\x02\xef\xcc\x79\xf6\x25\x92\x97\x69\x47\x44\x71\x2e\x33\x0d\x22\x14\xa9\x12\xec\xcd\xab\xf7\x1b\xec\x51\x6f\x23\x98\x14\x69\x98\xc7\x32\x0d\x26\xcd\xaf\xf1\x24\xc8\xaf\x17\x42\x4e\x98\xb8\x5a\xc8\x2c\x57\xa3\xd1\xa8\x21\xc7\x9f\x45\x98\x37\x1e\x3e\xd4\x59\x73\x19\x15\x89\x78\x30\x1a\x35\x8a\x34\x12\x93\x38\x15\x51\xa3\xf9\x95\x52\xbb\xa6\xde\x24\x68\xde\x8a\x44\x09\x56\x82\xa4\xb2\x00\xd1\x34\xd9\x78\xf8\x90\x12\xbb\x7c\x1e\x35\xbf\xd2\xdf\xc1\x87\xf3\xf6\x84\x2a\x7f\xbd\xe0\x19\x9b\x1e\x96\x20\x2e\xe3\x34\x92\x97\xd5\xa6\xa7\x23\x4a\xaf\x36\x38\x4d\xe4\x98\x27\xcb\xa5\x29\xbd\x5a\x5a\x89\x64\xb2\x5c\x16\x52\x09\x97\xe9\x28\x9f\xc5\xea\x76\xda\x3d\x45\xfa\xbe\x79\x71\xc2\x46\x0c\xba\x79\xdb\x2c\x69\xd8\x44\x94\x09\x40\x9b\x48\xd2\xd6\x24\x39\xcc\x44\x5e\x64\x29\xb3\x85\x99\x08\xf2\x76\xda\xce\x9a\x5f\x6d\x8a\x0a\x64\xbb\xc0\x61\x78\x90\x7e\x90\xe7\xf4\x57\x8e\x7f\x01\x5c\x3e\xd2\xb8\x66\xe2\x6f\x45\x9c\x09\x9f\x94\x3a\x11\xc8\xf5\xa0\x78\xf8\x90\x37\x75\x83\x3c\x90\xed\x07\xfd\x26\xa4\xc7\x26\x2d\xd6\x69\x00\x75\x32\x4a\xc5\x25\x3b\xc9\x32\x99\x05\x8d\x63\x9e\xa6\x32\x67\x93\x38\x8d\xf4\x40\xb3\xcd\x46\x4b\xb6\x1a\x9b\x8d\xe6\x61\x3e\xcb\xe4\x25\x9b\x74\x43\x19\x89\x51\xe3\xcd\xbb\x17\x3f\xbd\x3e\xf9\xf8\xf6\xdd\xfb\x8f\x2f\xdf\xfd\xf4\xf6\x45\xa3\x3d\xb9\x05\x78\xc9\x08\x70\x1f\x7d\xd5\xfd\x3e\xf8\x7a\x7b\x7b\x08\x7d\xf8\xd0\x3f\xef\x86\x3c\x49\x82\xc4\x70\x49\xdb\xd2\x4d\x50\x07\xd3\x11\x16\x1c\x9c\x7f\x10\xe7\x86\x5e\x2a\x48\x9f\xa6\x07\xa2\x79\xdb\x4e\xda\x65\x4d\xd1\x26\xda\xdd\xea\x52\xd0\xa4\xc9\x44\x2c\xe2\x7b\xd1\x6a\x22\xb3\x00\x4a\xcb\x51\xff\x50\x3e\xc9\xba\x89\x48\xa7\xf9\xec\x50\xb6\x5a\x4d\x15\x64\x40\x78\x8b\xc6\x6d\x33\xf8\x3a\x38\xf8\x60\x51\xd6\x20\x2a\xa3\xdc\xfc\xba\xb1\x59\x28\xc1\x54\x9e\xc5\x61\xbe\xb9\xb1\xa1\xd3\xbb\xe3\xeb\x5c\xbc\x46\xe8\x6c\xc4\xca\x1f\x36\x3f\x97\xcf\xaf\x73\xf1\x2c\xcb\xf8\x35\x1b\x31\xe7\x97\x2d\x31\xc9\xe4\xdc\x2d\xe3\xfd\xde\xd8\x40\xd2\x4b\xf9\xa5\x58\xb0\x11\xfb\x70\x8e\xbf\x33\x71\xf1\xba\x92\xf4\x2c\xcb\x00\x3e\xd1\xe6\xa7\x38\xcd\xf7\x08\xde\x83\xd1\x88\x6d\x5a\xde\xdf\x64\x4f\xdd\xcc\x03\xe6\x34\x02\xa3\xcf\x46\x6c\xf3\xd9\xf3\xe3\x17\x27\x2f\xff\xf8\xfd\xab\xff\xfa\xd3\xeb\x37\x6f\xdf\xfd\xf0\xbf\x7f\x3c\x7d\xff\xd3\x9f\x7f\xfe\xcb\x5f\xff\x0f\x1f\x87\x91\x98\x4c\x67\xf1\xe7\x2f\xc9\x3c\x95\x8b\xbf\x65\x2a\x2f\x2e\x2e\xaf\xae\x7f\xe9\x0f\x86\x5b\xdb\x8f\x77\x76\xf7\xf6\x5b\xbd\xcd\x8d\x89\xcc\x18\x92\x3f\x66\x23\xd6\x6f\xb3\x44\xa4\x6c\x84\xf0\xcd\x40\xb0\x98\x3d\x81\xe4\x43\xd6\x6a\xc5\x4d\xf6\x75\x83\xe9\x3e\x7e\x88\xcf\x75\xd1\x0f\xf1\xf9\x06\x2b\x7b\xfa\x01\xab\x87\x33\x9e\x1d\xcb\x48\x3c\xcb\x83\xb8\x09\x25\xe3\x8d\xdb\x8d\x8d\xb2\xd0\x66\x67\xd3\x2d\xd3\xc7\x32\x3b\x43\xb7\xc4\xc7\xba\x12\x5b\x1b\x1b\x76\xb2\x2e\x12\x1e\x8a\xef\x65\x12\x89\x4c\x1d\xcb\x22\xcd\x59\x30\xde\xd9\x26\x24\x71\x30\xb0\x37\xe3\x9d\x6d\xdd\x99\x0d\xc6\xe2\x09\x0b\x20\xf9\x3f\xd8\x36\x3b\x62\x7d\x2a\xcb\x18\xcd\xab\x72\x16\x6e\xbe\x4a\x2f\x78\x12\x47\xc8\x45\xe9\xb4\xcb\x34\xe3\xcc\x0b\x95\xb3\xb1\x60\x9c\xcd\x8b\x24\x8f\x17\x89\x60\x72\xc2\xb6\x37\x9b\x1b\x8c\xdd\x6e\x6c\x30\xd6\xeb\xb1\x7c\x26\x58\x5a\xcc\xc7\x22\x83\x3c\xf1\xb7\x82\x27\x4c\xc5\xd3\x54\xb1\x00\x11\x66\x33\xc2\xb8\x49\xc5\xe3\x09\xd4\xc8\x04\xe3\x99\x60\xf9\xa5\xa4\x5e\xe9\x32\x6d\x96\xcf\x78\x8a\x20\x21\x0b\xc8\xc1\xc3\x5c\x64\x8a\x8d\xc5\x44\x66\x82\xc5\x39\x41\xc9\xc4\x22\x13\x4a\xa4\x39\x93\xa9\x40\xee\xae\x40\x8f\x15\x93\x69\x72\x0d\
func simplemdeDebugSimplemdeDebugJsBytes() ([]byte, error) {
return bindataRead(
_simplemdeDebugSimplemdeDebugJs,
"simplemde/debug/simplemde.debug.js",
)
}
func simplemdeDebugSimplemdeDebugJs() (*asset, error) {
bytes, err := simplemdeDebugSimplemdeDebugJsBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "simplemde/debug/simplemde.debug.js", size: 1549844, mode: os.FileMode(436), modTime: time.Unix(1500253475, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _simplemdeDebugSimplemdeJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\x79\x77\xdb\x38\xb2\x28\xfe\x77\xfb\x53\x20\x7a\x73\x63\x2a\xda\x65\xc7\x6b\xe4\xdc\xc4\x71\xa6\x73\x27\x4b\xbf\x76\x7a\x7a\xe6\xc5\xbe\x09\x44\x42\x12\x13\x8a\xd0\x10\xa4\x97\x8e\x7d\x3f\xfb\xef\x54\x15\x00\x02\x14\x25\x3b\xdd\x3d\xcb\x7b\xbf\xe9\x3e\x87\xb1\xb0\x14\x0a\x85\x42\x55\x01\x28\x14\x7a\x8f\x1e\x6d\xb0\x47\x4c\xc5\xf3\x45\x22\xe6\x91\x60\x17\x83\xee\x60\xd0\x1d\x42\xe2\xb1\x5c\x5c\x67\xf1\x74\x96\xb3\xb7\xe2\x2a\x67\xa7\xb9\x58\xb0\x9f\xc5\x58\xb5\xd9\xab\x34\xec\x42\x89\xff\x4c\xe2\xf4\x0b\x9b\xe5\xf9\x42\x1d\xf4\x7a\xd3\x38\x9f\x15\xe3\x6e\x28\xe7\x3d\xa8\x00\xe5\xa1\x78\xcf\x02\xef\xcc\x79\xf6\x25\x92\x97\x69\x47\x44\x71\x2e\x33\x0d\x22\x14\xa9\x12\xec\xcd\xab\xf7\x1b\xec\x51\x6f\x23\x98\x14\x69\x98\xc7\x32\x0d\x26\xcd\xaf\xf1\x24\xc8\xaf\x17\x42\x4e\x98\xb8\x5a\xc8\x2c\x57\xa3\xd1\xa8\x21\xc7\x9f\x45\x98\x37\x1e\x3e\xd4\x59\x73\x19\x15\x89\x78\x30\x1a\x35\x8a\x34\x12\x93\x38\x15\x51\xa3\xf9\x95\x52\xbb\xa6\xde\x24\x68\xde\x8a\x44\x09\x56\x82\xa4\xb2\x00\xd1\x34\xd9\x78\xf8\x90\x12\xbb\x7c\x1e\x35\xbf\xd2\xdf\xc1\x87\xf3\xf6\x84\x2a\x7f\xbd\xe0\x19\x9b\x1e\x96\x20\x2e\xe3\x34\x92\x97\xd5\xa6\xa7\x23\x4a\xaf\x36\x38\x4d\xe4\x98\x27\xcb\xa5\x29\xbd\x5a\x5a\x89\x64\xb2\x5c\x16\x52\x09\x97\xe9\x28\x9f\xc5\xea\x76\xda\x3d\x45\xfa\xbe\x79\x71\xc2\x46\x0c\xba\x79\xdb\x2c\x69\xd8\x44\x94\x09\x40\x9b\x48\xd2\xd6\x24\x39\xcc\x44\x5e\x64\x29\xb3\x85\x99\x08\xf2\x76\xda\xce\x9a\x5f\x6d\x8a\x0a\x64\xbb\xc0\x61\x78\x90\x7e\x90\xe7\xf4\x57\x8e\x7f\x01\x5c\x3e\xd2\xb8\x66\xe2\x6f\x45\x9c\x09\x9f\x94\x3a\x11\xc8\xf5\xa0\x78\xf8\x90\x37\x75\x83\x3c\x90\xed\x07\xfd\x26\xa4\xc7\x26\x2d\xd6\x69\x00\x75\x32\x4a\xc5\x25\x3b\xc9\x32\x99\x05\x8d\x63\x9e\xa6\x32\x67\x93\x38\x8d\xf4\x40\xb3\xcd\x46\x4b\xb6\x1a\x9b\x8d\xe6\x61\x3e\xcb\xe4\x25\x9b\x74\x43\x19\x89\x51\xe3\xcd\xbb\x17\x3f\xbd\x3e\xf9\xf8\xf6\xdd\xfb\x8f\x2f\xdf\xfd\xf4\xf6\x45\xa3\x3d\xb9\x05\x78\xc9\x08\x70\x1f\x7d\xd5\xfd\x3e\xf8\x7a\x7b\x7b\x08\x7d\xf8\xd0\x3f\xef\x86\x3c\x49\x82\xc4\x70\x49\xdb\xd2\x4d\x50\x07\xd3\x11\x16\x1c\x9c\x7f\x10\xe7\x86\x5e\x2a\x48\x9f\xa6\x07\xa2\x79\xdb\x4e\xda\x65\x4d\xd1\x26\xda\xdd\xea\x52\xd0\xa4\xc9\x44\x2c\xe2\x7b\xd1\x6a\x22\xb3\x00\x4a\xcb\x51\xff\x50\x3e\xc9\xba\x89\x48\xa7\xf9\xec\x50\xb6\x5a\x4d\x15\x64\x40\x78\x8b\xc6\x6d\x33\xf8\x3a\x38\xf8\x60\x51\xd6\x20\x2a\xa3\xdc\xfc\xba\xb1\x59\x28\xc1\x54\x9e\xc5\x61\xbe\xb9\xb1\xa1\xd3\xbb\xe3\xeb\x5c\xbc\x46\xe8\x6c\xc4\xca\x1f\x36\x3f\x97\xcf\xaf\x73\xf1\x2c\xcb\xf8\x35\x1b\x31\xe7\x97\x2d\x31\xc9\xe4\xdc\x2d\xe3\xfd\xde\xd8\x40\xd2\x4b\xf9\xa5\x58\xb0\x11\xfb\x70\x8e\xbf\x33\x71\xf1\xba\x92\xf4\x2c\xcb\x00\x3e\xd1\xe6\xa7\x38\xcd\xf7\x08\xde\x83\xd1\x88\x6d\x5a\xde\xdf\x64\x4f\xdd\xcc\x03\xe6\x34\x02\xa3\xcf\x46\x6c\xf3\xd9\xf3\xe3\x17\x27\x2f\xff\xf8\xfd\xab\xff\xfa\xd3\xeb\x37\x6f\xdf\xfd\xf0\xbf\x7f\x3c\x7d\xff\xd3\x9f\x7f\xfe\xcb\x5f\xff\x0f\x1f\x87\x91\x98\x4c\x67\xf1\xe7\x2f\xc9\x3c\x95\x8b\xbf\x65\x2a\x2f\x2e\x2e\xaf\xae\x7f\xe9\x0f\x86\x5b\xdb\x8f\x77\x76\xf7\xf6\x5b\xbd\xcd\x8d\x89\xcc\x18\x92\x3f\x66\x23\xd6\x6f\xb3\x44\xa4\x6c\x84\xf0\xcd\x40\xb0\x98\x3d\x81\xe4\x43\xd6\x6a\xc5\x4d\xf6\x75\x83\xe9\x3e\x7e\x88\xcf\x75\xd1\x0f\xf1\xf9\x06\x2b\x7b\xfa\x01\xab\x87\x33\x9e\x1d\xcb\x48\x3c\xcb\x83\xb8\x09\x25\xe3\x8d\xdb\x8d\x8d\xb2\xd0\x66\x67\xd3\x2d\xd3\xc7\x32\x3b\x43\xb7\xc4\xc7\xba\x12\x5b\x1b\x1b\x76\xb2\x2e\x12\x1e\x8a\xef\x65\x12\x89\x4c\x1d\xcb\x22\xcd\x59\x30\xde\xd9\x26\x24\x71\x30\xb0\x37\xe3\x9d\x6d\xdd\x99\x0d\xc6\xe2\x09\x0b\x20\xf9\x3f\xd8\x36\x3b\x62\x7d\x2a\xcb\x18\xcd\xab\x72\x16\x6e\xbe\x4a\x2f\x78\x12\x47\xc8\x45\xe9\xb4\xcb\x34\xe3\xcc\x0b\x95\xb3\xb1\x60\x9c\xcd\x8b\x24\x8f\x17\x89\x60\x72\xc2\xb6\x37\x9b\x1b\x8c\xdd\x6e\x6c\x30\xd6\xeb\xb1\x7c\x26\x58\x5a\xcc\xc7\x22\x83\x3c\xf1\xb7\x82\x27\x4c\xc5\xd3\x54\xb1\x00\x11\x66\x33\xc2\xb8\x49\xc5\xe3\x09\xd4\xc8\x04\xe3\x99\x60\xf9\xa5\xa4\x5e\xe9\x32\x6d\x96\xcf\x78\x8a\x20\x21\x0b\xc8\xc1\xc3\x5c\x64\x8a\x8d\xc5\x44\x66\x82\xc5\x39\x41\xc9\xc4\x22\x13\x4a\xa4\x39\x93\xa9\x40\xee\xae\x40\x8f\x15\x93\x69\x72\x0d\xd9\x
func simplemdeDebugSimplemdeJsBytes() ([]byte, error) {
return bindataRead(
_simplemdeDebugSimplemdeJs,
"simplemde/debug/simplemde.js",
)
}
func simplemdeDebugSimplemdeJs() (*asset, error) {
bytes, err := simplemdeDebugSimplemdeJsBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "simplemde/debug/simplemde.js", size: 597036, mode: os.FileMode(436), modTime: time.Unix(1500253475, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
// Asset loads and returns the asset for the given name.
// It returns an error if the asset could not be found or
// could not be loaded.
func Asset(name string) ([]byte, error) {
cannonicalName := strings.Replace(name, "\\", "/", -1)
if f, ok := _bindata[cannonicalName]; ok {
a, err := f()
if err != nil {
return nil, fmt.Errorf("Asset %s can't read by error: %v", name, err)
}
return a.bytes, nil
}
return nil, fmt.Errorf("Asset %s not found", name)
}
// MustAsset is like Asset but panics when Asset would return an error.
// It simplifies safe initialization of global variables.
func MustAsset(name string) []byte {
a, err := Asset(name)
if err != nil {
panic("asset: Asset(" + name + "): " + err.Error())
}
return a
}
// AssetInfo loads and returns the asset info for the given name.
// It returns an error if the asset could not be found or
// could not be loaded.
func AssetInfo(name string) (os.FileInfo, error) {
cannonicalName := strings.Replace(name, "\\", "/", -1)
if f, ok := _bindata[cannonicalName]; ok {
a, err := f()
if err != nil {
return nil, fmt.Errorf("AssetInfo %s can't read by error: %v", name, err)
}
return a.info, nil
}
return nil, fmt.Errorf("AssetInfo %s not found", name)
}
// AssetNames returns the names of the assets.
func AssetNames() []string {
names := make([]string, 0, len(_bindata))
for name := range _bindata {
names = append(names, name)
}
return names
}
// _bindata is a table, holding each asset generator, mapped to its name.
var _bindata = map[string]func() (*asset, error){
"simplemde/dist/simplemde.min.css": simplemdeDistSimplemdeMinCss,
"simplemde/dist/simplemde.min.js": simplemdeDistSimplemdeMinJs,
"simplemde/debug/simplemde.css": simplemdeDebugSimplemdeCss,
"simplemde/debug/simplemde.debug.js": simplemdeDebugSimplemdeDebugJs,
"simplemde/debug/simplemde.js": simplemdeDebugSimplemdeJs,
}
// AssetDir returns the file names below a certain
// directory embedded in the file by go-bindata.
// For example if you run go-bindata on data/... and data contains the
// following hierarchy:
// data/
// foo.txt
// img/
// a.png
// b.png
// then AssetDir("data") would return []string{"foo.txt", "img"}
// AssetDir("data/img") would return []string{"a.png", "b.png"}
// AssetDir("foo.txt") and AssetDir("notexist") would return an error
// AssetDir("") will return []string{"data"}.
func AssetDir(name string) ([]string, error) {
node := _bintree
if len(name) != 0 {
cannonicalName := strings.Replace(name, "\\", "/", -1)
pathList := strings.Split(cannonicalName, "/")
for _, p := range pathList {
node = node.Children[p]
if node == nil {
return nil, fmt.Errorf("Asset %s not found", name)
}
}
}
if node.Func != nil {
return nil, fmt.Errorf("Asset %s not found", name)
}
rv := make([]string, 0, len(node.Children))
for childName := range node.Children {
rv = append(rv, childName)
}
return rv, nil
}
type bintree struct {
Func func() (*asset, error)
Children map[string]*bintree
}
var _bintree = &bintree{nil, map[string]*bintree{
"simplemde": &bintree{nil, map[string]*bintree{
"debug": &bintree{nil, map[string]*bintree{
"simplemde.css": &bintree{simplemdeDebugSimplemdeCss, map[string]*bintree{}},
"simplemde.debug.js": &bintree{simplemdeDebugSimplemdeDebugJs, map[string]*bintree{}},
"simplemde.js": &bintree{simplemdeDebugSimplemdeJs, map[string]*bintree{}},
}},
"dist": &bintree{nil, map[string]*bintree{
"simplemde.min.css": &bintree{simplemdeDistSimplemdeMinCss, map[string]*bintree{}},
"simplemde.min.js": &bintree{simplemdeDistSimplemdeMinJs, map[string]*bintree{}},
}},
}},
}}
// RestoreAsset restores an asset under the given directory
func RestoreAsset(dir, name string) error {
data, err := Asset(name)
if err != nil {
return err
}
info, err := AssetInfo(name)
if err != nil {
return err
}
err = os.MkdirAll(_filePath(dir, filepath.Dir(name)), os.FileMode(0755))
if err != nil {
return err
}
err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())
if err != nil {
return err
}
err = os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime())
if err != nil {
return err
}
return nil
}
// RestoreAssets restores an asset under the given directory recursively
func RestoreAssets(dir, name string) error {
children, err := AssetDir(name)
// File
if err != nil {
return RestoreAsset(dir, name)
}
// Dir
for _, child := range children {
err = RestoreAssets(dir, filepath.Join(name, child))
if err != nil {
return err
}
}
return nil
}
func _filePath(dir, name string) string {
cannonicalName := strings.Replace(name, "\\", "/", -1)
return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...)
}