Closed manoj2411 closed 9 years ago
Hey,
I just followed the given steps and whenever I am trying to build handler with
handler = Gmaps.build('Google');
I am getting this error in javascript console
Uncaught ReferenceError: _ is not defined
And it is coming from line nuber 8 of gmaps/base.js
gmaps/base.js
model = _.isFunction(options.handler) ? options.handler : Gmaps.Objects.Handler;
The whole content of gmaps/base.js is
(function() { this.Gmaps = { build: function(type, options) { var model; if (options == null) { options = {}; } model = _.isFunction(options.handler) ? options.handler : Gmaps.Objects.Handler; return new model(type, options); }, Builders: {}, Objects: {}, Google: { Objects: {}, Builders: {} } }; }).call(this);
Did I missed or messed something?
Yes, underscore js is a required dependency
Hi! I get the same error. I am not sure how to fix it? How do you get underscore.js to work?
Hey,
I just followed the given steps and whenever I am trying to build handler with
I am getting this error in javascript console
And it is coming from line nuber 8 of
gmaps/base.js
The whole content of
gmaps/base.js
isDid I missed or messed something?