summaryrefslogtreecommitdiffstats
path: root/modules/structs/git_blob.go
blob: 5715f2585b9542acb420e7e40b68d8f39d43894c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2019 The Gitea Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.

package structs

// GitBlobResponse represents a git blob
type GitBlobResponse struct {
	Content  string `json:"content"`
	Encoding string `json:"encoding"`
	URL      string `json:"url"`
	SHA      string `json:"sha"`
	Size     int64  `json:"size"`
}
">> <title>Draggable Visual Test</title> <link rel="stylesheet" href="../../../themes/base/all.css"> <script src="../../../external/requirejs/require.js"></script> <script src="../../../demos/bootstrap.js"> $( "#draggable" ) .draggable() .on( "mousedown", function() { $( this ).html( "<div>replaced</div>" ); }); </script> <style> #draggable { background: green; height: 75px; width: 75px; } </style> </head> <body> <p>WHAT: A draggable, whose content is replaced onmousedown.</p> <p>EXPECTED: In IE8, the draggable can actually be dragged.</p> <div id="draggable"><div>content</div></div> </body> </html>