Skip to content

Getting existing jQuery to work in deployed styleguide #15

@peteainsworth

Description

@peteainsworth

I'm would love to integrate your fantastic generator-style-prototype into my existing Drupal workflow.
I've got everything working with my existing Drupal themes but since AngularJS doesn't play well with jQuery I'm not able to get my behaviours to work in the deployed styleguide. Custom Javascript works fine and I've abstracted the whole thing from Drupal and narrowed it down to simply including jQuery and a single jQuery statement in the index.html to check nothing else is conflicting.

As I understand it, the correct AngularJS method is to rewrite all jQuery behaviours in directives but since my Drupal sites don't use AngularJS I would have to rewrite every bit of jQuery just for the purposes of the styleguide.

I was wondering whether I'm missing something obvious, whether this is intended not to work with existing designs that use jQuery or otherwise what the best practice is in this case?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions