angular-sortablejs
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -15,7 +15,7 @@ import { Directive, ElementRef, Input, NgZone } from '@angular/core'; | ||
if (this.runInsideAngular) { | ||
this._sortable = new Sortable(this.element.nativeElement, this.options); | ||
this._sortable = Sortable.create(this.element.nativeElement, this.options); | ||
} | ||
else { | ||
this.zone.runOutsideAngular(function () { | ||
_this._sortable = new Sortable(_this.element.nativeElement, _this.options); | ||
_this._sortable = Sortable.create(_this.element.nativeElement, _this.options); | ||
}); | ||
@@ -22,0 +22,0 @@ } |
{ | ||
"name": "angular-sortablejs", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "SortableJS for Angular", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -32,3 +32,3 @@ # angular-sortablejs | ||
'angular-sortablejs': 'node_modules/angular-sortablejs/dist/', | ||
'sortablejs': 'node_modules/sortablejs/Sortable.js', | ||
'sortablejs/Sortable.min': 'node_modules/sortablejs/Sortable.min.js', | ||
// ... | ||
@@ -35,0 +35,0 @@ }; |
Sorry, the diff of this file is not supported yet
28772