Skip to content

Commit 6491d97

Browse files
committed
Directive doesn't need to be terminal anymore
See #132
1 parent 461b60c commit 6491d97

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

dist/angular-gettext.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ angular.module('gettext').directive('translate', ["gettextCatalog", "$parse", "$
123123

124124
return {
125125
restrict: 'A',
126-
terminal: true,
127126
compile: function compile(element, attrs) {
128127
// Validate attributes
129128
assert(!attrs.translatePlural || attrs.translateN, 'translate-n', 'translate-plural');

dist/angular-gettext.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/directive.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ angular.module('gettext').directive('translate', function (gettextCatalog, $pars
2020

2121
return {
2222
restrict: 'A',
23-
terminal: true,
2423
compile: function compile(element, attrs) {
2524
// Validate attributes
2625
assert(!attrs.translatePlural || attrs.translateN, 'translate-n', 'translate-plural');

0 commit comments

Comments
 (0)