Skip to content

Commit 4c8cb9e

Browse files
committed
Merge pull request #44 from ocombe/patch-1
Support for angular 1.3.0 I normally try and test such change myself, but cannot really find the time for it. So in this case, will just merge the pool request, as I think it should work... considering the number of people claiming it appears to work...
2 parents bd1da83 + 97f973e commit 4c8cb9e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

angular-tree-control.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,7 @@
159159
'</li>' +
160160
'</ul>';
161161

162-
return {
163-
template: $compile(template)
164-
}
162+
this.template = $compile(template);
165163
}],
166164
compile: function(element, attrs, childTranscludeFn) {
167165
return function ( scope, element, attrs, treemodelCntr ) {

0 commit comments

Comments
 (0)