(transformables ...*Transformable)
| 72 | } |
| 73 | |
| 74 | func MustLoad(transformables ...*Transformable) *Map { |
| 75 | transformer, err := Load(transformables...) |
| 76 | if err != nil { |
| 77 | panic("transform: unable to load the transformer: " + err.Error()) |
| 78 | } |
| 79 | return transformer |
| 80 | } |
| 81 | |
| 82 | func Load(transformables ...*Transformable) (*Map, error) { |
| 83 | browser, err := load(PlatformDOM, transformables) |