File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,13 @@ angular.module('jtt_bricklayer', [])
2222 scope . $on ( 'bricklayer.redraw' , function ( ) {
2323 bricklayer . redraw ( ) ;
2424 } ) ;
25- }
25+ } ,
26+ controller : function ( $scope ) { }
2627 }
2728 } ] )
2829 . directive ( 'bricklayerAppend' , function ( ) {
2930 return {
30- require : '? bricklayer' ,
31+ require : '^^ bricklayer' ,
3132 restrict : 'ACE' ,
3233 link : function ( scope , element , attrs ) {
3334 scope . $emit ( 'bricklayer.append' , element [ 0 ] ) ;
@@ -36,7 +37,7 @@ angular.module('jtt_bricklayer', [])
3637 } )
3738 . directive ( 'bricklayerPrepend' , function ( ) {
3839 return {
39- require : '? bricklayer' ,
40+ require : '^^ bricklayer' ,
4041 restrict : 'ACE' ,
4142 link : function ( scope , element , attrs ) {
4243 scope . $emit ( 'bricklayer.prepend' , element [ 0 ] ) ;
You can’t perform that action at this time.
0 commit comments