Closed brianburridge closed 9 years ago
@brianburridge jQuery isn't my favorite thing to mess around with. If your not too busy can you take a look at why it doesn't seem to be loading?
Hey @brianburridge i am getting this ExecJS::RuntimeError in Campuses#index error. I search to see how others solved this issues http://stackoverflow.com/questions/12520456/execjsruntimeerror-on-windows-trying-to-follow-rubytutorial
Two of the steps(Removing //= require_tree . or installing node/ therubyracer gem ) I took, both "ignored" the issue. My question is should I proceed to "modified runtimes.rb" because I later found out that all these issues where being discovered and fixed on window 8
Are you on windows now?
@brianburridge no I don't ever see myself going back at this point
That coffeescript file is the problem (campuses.js). Currently you have regular javascript in there, not coffeescript. And also, the JS that is in there is broken (missing closing brackets and parenthesis). But you'll need to convert it to coffeescript as well.
ok cool, I switch the JS in there and moved it to application to fulfill highlight the tap.
@brianburridge done!!!
Can you identify what pages the jquery for 1, 4, and 5 is on? Although I see the code in your JS, I don't see in the app where those items are used.
I think it should be in campus index. The jQuery code is in the apapplication.js I think.
@brianburridge
I think you forgot to push to Heroku.
hahaha oops, sorry about that....hold on
@brianburridge ok good to go?
There it is! :smile:
:boom: :boom: :boom:
Assignment 52
Use some jQuery in your application.js that does the following to your Conference Room Management app
table_striped
class on your rooms table and use a traversing selector to apply a background color to the even rows.this
reference) and the square footage is shown. The square footage value should be in adata-sqfootage
attribute of the element and the jQuery should use that value.