// emitter examines the config file for api information
// and returns the correct
emitter examines the config file for api information
and returns the correct
// emitter examines the config file for api information // and returns the correct
func (js *JavascriptBuilder) emitter() events.Emitter {
	if js.config.API.URI == "" {
		return events.NewNoopEmitter()
	}
	return events.NewHTTPPostEmitter(js.config.API.URI, js.config.API.Key, js.config.API.Pid)
}
func ( js * JavascriptBuilder ) emitter ( ) events . Emitter { if js . config . API . URI == " " { return events . NewNoopEmitter ( ) } return events . NewHTTPPostEmitter ( js . config . API . URI , js . config . API . Key , js . config . API . Pid ) }
emitter examines the config file for api information
and returns the correct
emitter examines the config file for api information and returns the correct
// no URI set, return a noop emitter