Hi guys,

I've just migrated to T5.4 and Tapestry-Jquery 4.0.1-SNAPSHOT. And it seems I have an issue with 'isEmpty' function in GMap.js file. Error in firebug console looks like:

ReferenceError: isEmpty is not defined
if (isEmpty(specs.params)) {

Source code snippet from GMap.js file with mean 'isEmpty' function:

define(["tjq/vendor/components/gmap/gmap3"], function() {
   init = function(spec) {

      if (isEmpty(specs.params)) {
          jQuery('#' + specs.id).gmap3();
      } else {
          jQuery('#' + specs.id).gmap3(specs.params);
      }
   };

   return exports = init;
});

My usage of GMap component is the same like at

http://tapestry5-jquery.com/components/docsgmap

So, nothing special added or adjusted.

IMHO, It looks like there is a conflict in function names, but example on demo pages is working fine. Could you please give me a hand with this issue? It's quite critical for me. As usual, thank you a lot in advance!

Let the force be with you,
Jan

Reply via email to