(c *Collection)
| 676 | } |
| 677 | |
| 678 | func NewCollectionObj(c *Collection) *CollectionObj { |
| 679 | return &CollectionObj{ |
| 680 | Collection: *c, |
| 681 | Format: c.NewFormat(), |
| 682 | } |
| 683 | } |
| 684 | |
| 685 | func (c *CollectionObj) ScriptDisplay() template.JS { |
| 686 | return template.JS(c.Script) |
no test coverage detected