Skip to content

Commit

Permalink
fix(dragula): using typings and removed require usage
Browse files Browse the repository at this point in the history
closes #100
  • Loading branch information
NathanWalker committed Mar 9, 2016
1 parent b033e85 commit feaf945
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "ng2-dragula",
"version": "1.1.2",
"version": "1.1.3",
"description": "Simple drag and drop with dragula",
"repository": {
"type": "git",
Expand Down Expand Up @@ -86,4 +86,4 @@
"webpack": "^1.12.13",
"webpack-dev-server": "^1.14.1"
}
}
}
2 changes: 1 addition & 1 deletion src/app/directives/dragula.directive.ts
Expand Up @@ -7,7 +7,7 @@ import {
SimpleChange
} from 'angular2/core';
import {DragulaService} from '../providers/dragula.provider';
import * as dragula from 'dragula/dragula';
import * as dragula from 'dragula';

@Directive({
selector: '[dragula]'
Expand Down
2 changes: 1 addition & 1 deletion src/app/providers/dragula.provider.ts
@@ -1,4 +1,4 @@
import * as dragula from 'dragula/dragula';
import * as dragula from 'dragula';
import {Injectable, EventEmitter} from 'angular2/core';

@Injectable()
Expand Down
2 changes: 1 addition & 1 deletion src/vendor.ts
Expand Up @@ -8,4 +8,4 @@ import 'angular2/core';

// Other vendors for example jQuery, Lodash or Bootstrap
// You can import js, ts, css, sass, ...
import 'dragula/dragula';
import 'dragula';
1 change: 1 addition & 0 deletions typings.json
Expand Up @@ -3,6 +3,7 @@
"jasmine": "github:DefinitelyTyped/DefinitelyTyped/jasmine/jasmine.d.ts#dd638012d63e069f2c99d06ef4dcc9616a943ee4"
},
"ambientDependencies": {
"dragula": "github:DefinitelyTyped/DefinitelyTyped/dragula/dragula.d.ts#e8bdd1be7c8a81dcf9f4cdae126690c7bf249501",
"es6-shim": "github:DefinitelyTyped/DefinitelyTyped/es6-shim/es6-shim.d.ts#6697d6f7dadbf5773cb40ecda35a76027e0783b2",
"node": "github:DefinitelyTyped/DefinitelyTyped/node/node.d.ts#aee0039a2d6686ec78352125010ebb38a7a7d743"
}
Expand Down

0 comments on commit feaf945

Please sign in to comment.