Please sign in to comment.
use wp default jquery. See long comment
This solves 2 problems: 1st we was registering jquery with the already registered by default "jquery" handle. 2nd hardcoded jQuery version has maintanability issues, while WP offers updated and standard jquery itself. 2nd wp's dafault jquery is loaded in no-conflict mode, so "$" is not a function by default. I've modified application.js.coffee in order to have $ setted up out of the box
- Loading branch information...
Showing with 2 additions and 3 deletions.
|@@ -1,2 +1,2 @@|
|+jQuery ($) ->|
|"Yep, it works!"|