eriklieben / aurelia-interactjs

Plugin to use interact.js with Aurelia http://interactjs.io/ Inspired by a blog post from Matthew James Davis http://davismj.me/blog/aurelia-drag-and-drop/
MIT License
13 stars 7 forks source link

Fix 'warn Repo npm:interact@interact.js not found!' #7

Closed jfstephe closed 7 years ago

jfstephe commented 7 years ago

2 commits on one PR (sorry - I was lazy):

First commit (Fix 'warn Repo npm:interact@interact.js not found!'):

2 things: 1) you where correct about the mappings entry although the mappings are auto generated by jspm 2) As mentioned in emails, when I couldn't jspm install my fork from github I put it down to jspm/my local machine funny business. I shouldn't have.

These changes fix the 'warn Repo npm:interact@interact.js not found!' error when installing.

Note: There's something not right with the package.json and/or config.json files as the versions in this PR are NOT the ones you get if you do a 'npm install' + 'jspm install'.

Second commit:

Added the ability to add Interactable options as well as action options.

Aside - I fixed the broken tests and added a load for the options work. 'Interact' is now injected i ndo we can mock it :-).