build/src/transistor.js in transistor-0.1.2 vs build/src/transistor.js in transistor-0.1.3
- old
+ new
@@ -13,10 +13,10 @@
* JSONP.get( 'someUrl.php', {param1:'123', param2:'456'}, function(data){
* //do something with data, which is the JSON object you should retrieve from someUrl.php
* });
*/
var JSONP = function(){
- var counter = 0, head, window = this, config = {};
+ var counter = 0, head, config = {};
function load(url, pfnError) {
var script, done, errorHandler;
script = document.createElement('script');
done = false;