Permalink
Browse files

Replaced overriding SQLTransaction.executeSql to a wrapper.

  • Loading branch information...
1 parent 5eca879 commit f249881db8c72264339104ee1daee6a3020d200b Khamza Davletov committed Jul 19, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 indexedDB.polyfill.debug.js
@@ -16,12 +16,12 @@
];
- function loadScript(i)
+ function loadScript(source)
{
var s = document.createElement('script');
s.type = 'text/javascript';
s.async = false;
- s.src = "/git/" + files[i];
+ s.src = source;
var x = document.getElementsByTagName('script')[0];
x.parentNode.insertBefore(s, x);
}
@@ -33,6 +33,6 @@
}
for (var i = 1; i < files.length; i++)
{
- loadScript(i);
+ loadScript(files[i]);
}
}());

0 comments on commit f249881

Please sign in to comment.