This repository was archived by the owner on Mar 31, 2025. It is now read-only.
File tree 5 files changed +19
-3
lines changed
5 files changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -13,5 +13,6 @@ module.exports = [
13
13
require ( './title' ) ,
14
14
require ( './parent' ) ,
15
15
require ( './packageName' ) ,
16
- require ( './scope' )
16
+ require ( './scope' ) ,
17
+ require ( './multiElement' )
17
18
] ;
Original file line number Diff line number Diff line change
1
+ module . exports = function ( ) {
2
+ return {
3
+ name : 'multiElement' ,
4
+ transforms : function ( doc , tag ) { return true ; }
5
+ } ;
6
+ } ;
Original file line number Diff line number Diff line change
1
+ var tagDefFactory = require ( './multiElement' ) ;
2
+
3
+ describe ( "scope tag-def" , function ( ) {
4
+ it ( "should transform the value to true" , function ( ) {
5
+ var tagDef = tagDefFactory ( ) ;
6
+ expect ( tagDef . transforms ( ) ) . toEqual ( true ) ;
7
+ } ) ;
8
+ } ) ;
Original file line number Diff line number Diff line change 1
1
module . exports = function ( ) {
2
2
return { name : 'parent' } ;
3
- } ;
3
+ } ;
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ <h2>Directive Info</h2>
6
6
< ul >
7
7
{% if doc.scope %}< li > This directive creates new scope.</ li > {% endif %}
8
8
< li > This directive executes at priority level {$ doc.priority $}.</ li >
9
+ {% if doc.multiElement %}< li > This directive can be used as {@link $compile#-multielement- multiElement}</ li > {% endif %}
9
10
</ ul >
10
11
11
12
{% block usage %}
@@ -55,7 +56,7 @@ <h2 id="usage">Usage</h2>
55
56
{% endcode %}
56
57
</ li >
57
58
{% endif -%}
58
-
59
+
59
60
{%- endif %}
60
61
</ div >
61
62
{% endblock -%}
You can’t perform that action at this time.
0 commit comments