changed wrapper to stay consistent with other plugins (see #357)

This commit is contained in:
Philipp Schaefer 2013-06-12 21:12:39 +02:00
parent 40a94f5265
commit b98a9a1d0c

View File

@ -12,7 +12,7 @@
// @match http://www.ingress.com/intel*
// ==/UserScript==
function wrapper(){
function wrapper() {
// ensure plugin framework is there, even if iitc is not yet loaded
if(typeof window.plugin !== 'function') window.plugin = function(){};