Skip to content

static-html / caching-html-compiler have a jQuery dependency #5223

@mxab

Description

@mxab

Hi,
if I use the static-html package, don't have jQuery in my dependency and use attributes on the body tag, the application fails since the caching-html-compiler uses jQuery to attach attributes to the body element.

https://github.com/meteor/meteor/blob/devel/packages/caching-html-compiler/caching-html-compiler.js#L112

This is my custom platform package
https://github.com/planet-training/angular-meteor-platform/blob/1.2-with-rc-deps/package.js

and this its sample project
https://github.com/mxab/meteor-ng-app/tree/attr_on_body

One thing to fix this is to depend on jQuery in the static html package but having jQuery as dependency on the "static-html" package is a bit of a paradox :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions