UNPKG

webpack-angular-translate

Version:

Webpack plugin that extracts the translation-ids with the default texts.

14 lines (10 loc) 261 B
/** Test if it's possible to suppress dynamic $translate calls */ function errorShouldBeSuppressed() { /* suppress-dynamic-translation-error: true */ var x; $translate(x); } function noSuppressionHere() { "use strict"; $translate(1+3); }