my rails app is versio 5.0.7.
I did change //= jquery to //=jquery3 (and it loaded jquery 3.3.1 in the
production environment on heroku).
so that wasn't the issue, it's just that my jquery scripts don't seem to
run :(
On Wednesday, April 3, 2019 at 11:40:38 AM UTC-4, jake wrote:
>
> I
> Is there any way in the browser console (or debugger to figure out what's
loading and when?)
[image: Show the function definition of a registered event listener on any
node]
On Wed, Apr 3, 2019 at 10:39 AM Jake Niemiec
wrote:
> I asked about the Rails version because these libs are
I asked about the Rails version because these libs are incompatible with
Rails 5+
https://github.com/jquery-ui-rails/jquery-ui-rails/issues/124#issuecomment-339689827
Rails 5+ uses the webpacker gem to load JS.
On Wed, Apr 3, 2019 at 10:25 AM Joe Guerra wrote:
> I have the following...
>
> gem
I have the following...
gem 'jquery-rails', '~> 4.3', '>= 4.3.1'
gem 'jquery-ui-rails', '~> 6.0', '>= 6.0.1'
and I've looked at my heroku console, and did a gem list, it says I have
the latest jquery stuff...
jquery-rails (4.3.3)
jquery-ui-rails (6.0.1)
my gem.lock file is ok too.
It sounds to me like something isn't nailed down to a specific version of
jQuery so your latest dev builds just go grab whatever latest version they
can find but your Production machine hasn't had to do this process in some
time.
In the Gemfile for the main Rails app I support, we have lines for
Have you checked your gem file and whats in application.js?
On Wed, Apr 3, 2019 at 9:54 AM Joe Guerra wrote:
> No, that's in the gem file...
>
> I even tried adding the jquery right to the application.erb from the
> Jquery CND...
>
> src="
What version of Rails do you use?
On Tue, Apr 2, 2019 at 3:54 PM Joe Guerra wrote:
> No, that's in the gem file...
>
> I even tried adding the jquery right to the application.erb from the
> Jquery CND...
>
> src="
No, that's in the gem file...
I even tried adding the jquery right to the application.erb from the Jquery
CND...
https://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
crossorigin="anonymous">
Still loads 1.12.4, no idea
Make sure you have the gem bootstrap sass could help
On Wed, 3 Apr 2019 9:03 AM Joe Guerra wrote:
> ok, here's my application.js
>
> // This is a manifest file that'll be compiled into application.js, which
> will include all the files
> // listed below.
> //
> // Any JavaScript/Coffee file
ok, here's my application.js
// 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 any plugin's
If your production server is serving JQuery make sure it's the correct
version on that server. If source is from somewhere else make sure the
Production server's code has the correct URL and double check your load
order for all JS assets.
On Fri, Mar 29, 2019 at 3:31 PM Joe Guerra wrote:
> I
I ran console.log(jQuery.fn.jquery);
(which checked the jquery version in the browsers console) and 3.3.1 on the
development, 1.12.4 on the production. I would imagine that's what's wrong,
now why?
On Friday, March 29, 2019 at 4:04:01 PM UTC-4, Joe Guerra wrote:
>
> ok, well I guess JQuery
ok, well I guess JQuery is not running on my production site, but seems to
load and run locally...
On Friday, March 29, 2019 at 3:56:29 PM UTC-4, Joe Guerra wrote:
>
> I got this dropdown hover script working on my local pc, unfortunately
> when push it to github and build it on heroku it
13 matches
Mail list logo