From 30c6255efdafad763a31697718ff9e98df92ec51 Mon Sep 17 00:00:00 2001 From: parabola949 Date: Wed, 28 Aug 2013 18:48:36 -0500 Subject: [PATCH] Updated to use plugin macros @@ --- plugins/layer-farms-find.user.js | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/plugins/layer-farms-find.user.js b/plugins/layer-farms-find.user.js index a27e870c..13ac4305 100644 --- a/plugins/layer-farms-find.user.js +++ b/plugins/layer-farms-find.user.js @@ -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); \ No newline at end of file +(document.body || document.head || document.documentElement).appendChild(script); + +@@PLUGINEND@@