gooy / aurelia-dialogs

MIT License
1 stars 0 forks source link

Trying to use this... #3

Open peebles opened 9 years ago

peebles commented 9 years ago

Problem one:

In index.js, line 9, "cb" is not a function when Aurelia installs plugins. I had to change this line to: "if ( typeof cb == 'function' ) {" or I got an exception at runtime: cb is not a function.

Problem two:

Unhandled promise rejection Error loading "templates/dialog-bootstrap" at http://192.168.99.100/dist/templates/dialog-bootstrap.js
Not Found: http://192.168.99.100/dist/templates/dialog-bootstrap.js

Seems to be a missing file? Do I need to supply this?

Aaike commented 9 years ago

Hi , this was just a test to prove a concept , it was using an old version of a dialog-bootstrap (which is a package that has been renamed now to aurelia-dialog)

the idea is to start using either aurelia-dialog instead or aurelia-bs-modal.

In the end this service should work with any type of modal/dialog you want.

I will try to get this done soon ;)

peebles commented 9 years ago

Ok. I started looking at aurelia-bs-modal. But I am looking for a dialog system that does not require markup in the view ahead of time, like the app.showDiaglog() in Durandal. I also would like bootstrap-modalmanager functionality. Your code looked like it might have come the closest to this ideal so far! I'm motivated now to learn how to write plugins. a

On Wed, Jun 24, 2015 at 8:11 PM, Aaike Van Roekeghem < notifications@github.com> wrote:

Hi , this was just a test to prove a concept , it was using an old version of a dialog-bootstrap (which is a package that has been renamed now to aurelia-dialog)

the idea is to start using either aurelia-dialog https://github.com/gooy/aurelia-dialog instead or aurelia-cs-modal https://github.com/PWKad/aurelia-bs-modal.

In the end this service should work with any type of modal/dialog you want.

I will put get to this soon ;)

— Reply to this email directly or view it on GitHub https://github.com/gooy/aurelia-dialogs/issues/3#issuecomment-115086596.