Skip to content

Commit 8fe60bc

Browse files
committedJul 9, 2019
fix: adapt for [email protected].* changes, fix #163
1 parent 337eb0d commit 8fe60bc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎projects/ngx-sortablejs/src/lib/sortablejs.directive.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
import { Directive, ElementRef, EventEmitter, Inject, Input, NgZone, OnChanges, OnDestroy, OnInit, Optional, Output, Renderer2, SimpleChange } from '@angular/core';
2+
import Sortable from 'sortablejs';
23
import { GLOBALS } from './globals';
34
import { SortablejsBindingTarget } from './sortablejs-binding-target';
45
import { SortablejsBindings } from './sortablejs-bindings';
56
import { SortablejsOptions } from './sortablejs-options';
67
import { SortablejsService } from './sortablejs.service';
78

8-
const Sortable: any = require('sortablejs');
9-
109
@Directive({
1110
selector: '[sortablejs]',
1211
})

0 commit comments

Comments
 (0)