astaxie/beego — pull request #942 by hilyjiang (2014-11-25 07:09:43+00:00)
Title: Add support to self-defined jsonp callback param, and jsonp encoding

***For context.output***

Change:
```
func (output *BeegoOutput) Jsonp(data interface{}, hasIndent bool) error
```
To:
```
func (output *BeegoOutput) Jsonp(data interface{}, hasIndent bool, coding bool) error
```

Add:
```
func (output *BeegoOutput) JsonpEx(data interface{}, hasIndent bool, coding bool, callback string) error
```

***For Controller***

Change:
```
func (c *Controller) ServeJsonp()
```
to:
```
func (c *Controller) ServeJsonp(encoding ...bool)
```

Add:
```
func (c *Controller) ServeJsonpEx(encoding ...bool)
```