Updated to use plugin macros @@

This commit is contained in:
parabola949 2013-08-28 18:48:36 -05:00
parent c452e35598
commit 30c6255efd

View File

@ -2,9 +2,11 @@
// @id iitc-plugin-farms@949
// @name IITC plugin: Show farms by level
// @category Info
// @version 1.2.1.20130828.144608
// @version 1.2.1.@@DATETIMEVERSION@@
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @description [parabola949-2013-08-27] Find farms by minimum level
// @updateURL @@UPDATEURL@@
// @downloadURL @@DOWNLOADURL@@
// @description [@@BUILDNAME@@-@@BUILDDATE@@] Find farms by minimum level
// @include https://www.ingress.com/intel*
// @include http://www.ingress.com/intel*
// @match https://www.ingress.com/intel*
@ -44,11 +46,14 @@ Initial release
*/
function wrapper() {
// ensure plugin framework is there, even if iitc is not yet loaded
if(typeof window.plugin !== 'function') window.plugin = function() {};
@@PLUGINSTART@@
// PLUGIN START ////////////////////////////////////////////////////////
// use own namespace for plugin
@ -350,4 +355,6 @@ if(window.iitcLoaded && typeof setup === 'function') {
// inject code into site context
var script = document.createElement('script');
script.appendChild(document.createTextNode('('+ wrapper +')();'));
(document.body || document.head || document.documentElement).appendChild(script);
(document.body || document.head || document.documentElement).appendChild(script);
@@PLUGINEND@@