New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined errors since update #33
Comments
Also, to add, here is the top of my application.js file: // This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// the compiled file.
//
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
// GO AFTER THE REQUIRES BELOW.
//
//= require jquery
//= require jquery.ui.all
//= require jquery_ujs
//= require ckeditor/init
//= require fullcalendar
//= require fullcalendar/gcal
//= require_tree . |
I didn't include momentjs! |
@classtechnologysolutions could you expand on what you did to resolve this please? I am seeing the The gemspec lists momentjs-rails as a runtime dependency, so I should not need to add it to the gemfile. I have tried adding I am using Rails 4.1.7 and Ruby 2.1.5. The fullcalendar version is 2.2.0.0 |
For some strange-to-me-but-surely-very-good-reason you have to explicitly add
to your Gemfile and
to your application.js manifest. |
@gr8bit thanks for your reply. I added For reference, my gemfile and manifest:
|
It helps to put the requires in this order: //= require moment
//= require fullcalendar |
That should be noted in the readme. Done. Thank you! :) |
I've updated fullcalendar-rails and generated an API key then turned on Calendar API.
I've added my API key to my code and now I'm getting this error:
I'm getting these errors:
fullcalendar.js
http://pastebin.com/zi6egy3H
gcal.js
http://pastebin.com/KNVY0tFW
The text was updated successfully, but these errors were encountered: