Skip to content

Conversation

@constantx
Copy link

I wanted to use dashing to be part of our internal dashboard, but want to use it inside another nodejs server rather a separate server. These are the changes I made in order to make it work.

  • add index.js that export dashing.app as a module
  • add root to mincer paths for it to be look up correctly when dashing is a subfolder of the main projet
  • add options to override some paths

@darrenhaken
Copy link

Will this be accepted or is it not in the interest of the project?

I'd like to do a similar thing and extend it.

@ghost ghost assigned fabiocaseri Nov 29, 2013
@fabiocaseri
Copy link
Owner

Can you show me an example on how you load dashing-js from you existing project?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this really necessary, add underscore.js as a dependency only for extend?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

absolutely not, sorry :) Please refactor as needed, it was the first thing on my head.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was not a critic :) Did you see my other comment on this PR?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fabiocaseri 🍻

Saw your other comments just now. I'll put up an example some where.

@KhrystynaLoginova
Copy link

Hello!
I have mongo-express-node project in which I need to use dashing-js to display results of using lib node-sensortag. How can I use dashing-js as a module?
Really need to answer, please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants