google / closure-templates

A client- and server-side templating system that helps you dynamically build reusable HTML and UI elements
Apache License 2.0
640 stars 194 forks source link

goog.format.insertWordBreaks Deprecated #79

Open moberghammer opened 8 years ago

moberghammer commented 8 years ago

In the latest Closure Library goog.format.insertWordBreaks is deprecated. This leads to the following warning: soyutils_usegoog.js:1526: WARNING - Property insertWordBreaks of type goog.format has been deprecated: Prefer wrapping with CSS white-space: pre-wrap.

jonnybot0 commented 8 years ago

We've encountered this problem as well, currently tracking it down. You wouldn't be using grunt-closure-soy or some other abstraction that's pulling in the closure-templates library some other way? Nevermind. Looks like that grunt plugin doesn't actually list the closure compiler dependency anyway.