Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

goog.soy.data.SanitizedCss is not included in soy-bundle #324

Closed
jbalsas opened this issue Dec 4, 2017 · 0 comments
Closed

goog.soy.data.SanitizedCss is not included in soy-bundle #324

jbalsas opened this issue Dec 4, 2017 · 0 comments

Comments

@jbalsas
Copy link
Contributor

jbalsas commented Dec 4, 2017

Our manually created soy-bundle lacks goog.soy.data.SanitizedCss and maybe others from https://github.com/google/closure-library/blob/master/closure/goog/soy/data.js

Trying to use

<style>{$_css}</style>

will result in an error like:

:8080/o/frontend-js-metal-web/metal-soy-bundle/build/bundle.js?languageId=en_US:574 goog.require could not find: goog.soy.data.SanitizedCss
goog.logToConsole_ @ :8080/o/frontend-js-metal-web/metal-soy-bundle/build/bundle.js?languageId=en_US:574

:8080/o/frontend-js-metal-web/metal-soy-bundle/build/bundle.js?languageId=en_US:615 Uncaught (in promise) Error: goog.require could not find: goog.soy.data.SanitizedCss
    at Object.goog.require (:8080/o/frontend-js-metal-web/metal-soy-bundle/build/bundle.js?languageId=en_US:615)
    at :8080/o/layout-admin-web/js/LayoutPageTemplateFragment.soy.js?languageId=en_US:64
    at Object.goog.loadModule (:8080/o/frontend-js-metal-web/metal-soy-bundle/build/bundle.js?languageId=en_US:988)
    at Function.<anonymous> (:8080/o/layout-admin-web/js/LayoutPageTemplateFragment.soy.js?languageId=en_US:50)
    at Loader._setModuleImplementation (loader.js:3056)
    at defineModules (loader.js:3170)
    at loader.js:3183
    at <anonymous>
jbalsas added a commit that referenced this issue Jan 26, 2018
Update google-closure soy/data.js (f7e0f45) | Fixes #324
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant