mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-19 00:26:34 +08:00
Angular-Modal Remove jQuery from tests
Replace reference to `$` with `angular.element`
This commit is contained in:
@@ -47,7 +47,7 @@ function withContainerAsString() {
|
||||
|
||||
// With container as jQuery element
|
||||
function withContainerAsJquery() {
|
||||
var container: JQuery = $('body');
|
||||
var container: JQuery = angular.element('body');
|
||||
btfModal({
|
||||
template: '<div></div>',
|
||||
container: container
|
||||
|
||||
Reference in New Issue
Block a user