sputnik-maps / jsonp

JSONP simple utility

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JSONP simple utility

	jsonp({
		url: '//domain.tld/path',
		success: function (response) {
			console.log(response);
		},
		cbParamName: 'jsonp', // will be passed to server as callback='jsonp' URL-param
		cbName: 'globalJsonPVarName' // will be used as a prefix for callbacks naming in global scope
	});

About

JSONP simple utility


Languages

Language:JavaScript 100.0%